Flash Of Unstyled Content
whenever i reload the page or getting to the new page , The html renders fast. But the css take 2 or 3 seconds to load.
9 Replies
passive-yellow•6mo ago
do you have screenshot or code example?
ambitious-aquaOP•6mo ago
https://github.com/SAB1825/DevSell---Working
Here sir working repo
GitHub
GitHub - SAB1825/DevSell---Working
Contribute to SAB1825/DevSell---Working development by creating an account on GitHub.
passive-yellow•6mo ago
i see you are importing styles.css in
__root.tsx and router.tsx, i think the problem is here, please choose 1 of 2 to avoid re-rendering cssxenial-black•6mo ago
But that css import in
__root.tsx & router.tsx is by default imported while using theire cli tools like create-tsrouter-app@latest!!!ambitious-aquaOP•6mo ago
Just fixed the issue. For some reasons i dont have headconten in my __root.tsx
genetic-orange•6mo ago
cc @jherr
vicious-gold•6mo ago
we'll get it fixed.
reduced-jade•6mo ago
Jherr, sorry to bother you. For spinning up a start project, should we use create-start? Or create-tsrouter
xenial-black•6mo ago
i assume they all are same with just different command name. They are currently 4 cli command!!!
