Xiphe / remix-island

utils to render remix into a dom-node instead of the whole document
MIT License
83 stars 5 forks source link

Flash of components before styled components styles #8

Open SagarMahadik opened 3 months ago

SagarMahadik commented 3 months ago

Hi first of all thank you for the workaround to use Styled Components with Remix. Can you help me understand what causes component to without styles flash, before the styled-components styles apply and how to avoid that.

Xiphe commented 2 months ago

Sorry for the late reply.

Have you read the Pitfalls / Notes section of the readme?

maybe the discussion between @jozefmery and me can help you understand more? https://github.com/Xiphe/remix-island/issues/2

Apart from that I'd need more details to understand your scenario.