Skip to content
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

Make it easyer to integrate with Next.js #3054

Open
garronej opened this issue Jun 12, 2023 · 0 comments
Open

Make it easyer to integrate with Next.js #3054

garronej opened this issue Jun 12, 2023 · 0 comments

Comments

@garronej
Copy link
Contributor

Hello,

Configuring Emotion to work in conjunction with Next.js within the App Router and Page Router, can be complex. To mitigate this challenge, tss-react offers tools that greatly simplify the process of setting up Emotion SSR in Next.js.

Documentation: tss-react SSR in Next.js

However, I believe these utilities would be even more valuable if integrated directly into Emotion. These tools don't have anything unique to tss-react; instead, they essentially implement the snippets of code graciously shared by @Andarist across various issues, encapsulating them into a clear, minimal API.

Setup with App Router:
App Router Setup

Setup with Pages Router:
Pages Router Setup

These utilities have been widely used and thoroughly battle-tested.

I would be more than willing to transfer my code over to your repository if it would be beneficial.

Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant