react-component-caching icon indicating copy to clipboard operation
react-component-caching copied to clipboard

Support styled component

Open dtuyenle opened this issue 7 years ago • 0 comments

I thought about making an optional config for this. Basically we can get the style tags after the render and append it to the html string ( Or maybe JSON string version ? Although I don't want to deal with escaping things ). Then when we retrieve it we use split to separate the html and the style. The reason for this is we want the styles to be in the header for initial painting. Any thoughts on this ?

dtuyenle avatar Feb 21 '19 15:02 dtuyenle