T
TanStack3mo ago
correct-apricot

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
itchy-amethyst
itchy-amethyst3mo ago
do you have screenshot or code example?
correct-apricot
correct-apricotOP3mo ago
GitHub
GitHub - SAB1825/DevSell---Working
Contribute to SAB1825/DevSell---Working development by creating an account on GitHub.
itchy-amethyst
itchy-amethyst3mo 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 css
fair-rose
fair-rose3mo ago
But that css import in __root.tsx & router.tsx is by default imported while using theire cli tools like create-tsrouter-app@latest!!!
correct-apricot
correct-apricotOP3mo ago
Just fixed the issue. For some reasons i dont have headconten in my __root.tsx
environmental-rose
environmental-rose3mo ago
cc @jherr
wise-white
wise-white3mo ago
we'll get it fixed.
wise-white
wise-white3mo ago
Jherr, sorry to bother you. For spinning up a start project, should we use create-start? Or create-tsrouter
fair-rose
fair-rose3mo ago
i assume they all are same with just different command name. They are currently 4 cli command!!!
No description

Did you find this page helpful?