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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Will styled-components ever support latest react features (server components, streaming, concurrent redering) ? #4265
Comments
Vercel has some vague statement in their docs https://nextjs.org/docs/app/building-your-application/styling/css-in-js
I have not seen any updates since they posted this many months ago Anyone feel free to clue me in if I've missed something |
This library is going to die if we don't start supporting Server Components. I also have to use Tailwind and it makes me so sad. |
It would be a different library if we dropped use of context, which is required for server components. No plans to do so. React is welcome to introduce a useful API we can switch to. |
@leerob @timneutkens @acdlite @gaearon is runtime css-in-js in React dead? |
They've been pretty clear that you can still use whatever you want in client components, it's just they won't be as optimized. But like with all things it's a tradeoff. A runtime means you have to ship the runtime, it can't just be compiled away unless your site is entirely static. |
Been a long time fan / user of styled-components. But recently I have found myself using tailwind 馃槼 because I want to leverage latest React (Server Component) features on Next.js.
I would hugely prefer to continue using styled-components since I love the syntax and already have so many projects using it. But im mainly wondering the interest and possibility for styled-components to adopt these latest react features? is this something this library is looking to get into?
Would love to hear some thoughts. thank you !!
The text was updated successfully, but these errors were encountered: