-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example using next with <CacheProvider/> in pages/_app.tsx. #65
Comments
Hi @ziggy6792, Nevertheless it's a good idea to put the providers in |
Hi @garronej Oops my mistake. |
Hi
Thanks a lot for this tool and your examples and docs.
I am trying to use tss-react with next
I read your docs here https://docs.tss-react.dev/ssr/next.js and checked-out the example here https://github.com/garronej/tss-react/tree/main/src/test/apps/ssr
When I move the cache provider to
_app.tsx
the styles no longer work when server side rendering (I get an initial un-styled page from the server which is then styled on the client)Here is a my code.
https://github.com/ziggy6792/tss-react/tree/provider-in-app
Thanks a lot
The text was updated successfully, but these errors were encountered: