twind not working with suspense
epotter2297 opened this issue · comments
When I put something inside of <Suspense>
that has twind styles, it will fail to correctly display the styles on the first load of the route. On the second load, it will work correctly.
Here is a repo I made to showcase the issue
I think there was an error in how these integrations were scaffolded out in your example.
Here is a fork of your repo that seems to be working as intended.
I followed the examples found here https://github.com/exhibitionist-digital/ultra/tree/main/examples to debug this, though this could be a bit more elegant.