rookLab/react-component-caching

Support styled component

dtuyenle opened this issue · 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 ?