Replies: 3 comments 7 replies
-
@paulm17 I have a plan on how to make it a better experience with Next.js & RSC. Basically, drop automatic RTL flipping + enforce CSS extraction. If this will be done, there is no need to have a hook anymore and consume a React context. I also need to do additional checks to see how |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
@layershifter - using more and more RSC - the value of being able to do a makeStyles in a server component becomes significant higher - let me know if there is anything i can do to help or where to "vote" for you to get more time to look at it :) |
Beta Was this translation helpful? Give feedback.
-
As I understand it, makeStyles is a react hook. So therefore it only works in NextJS with "use client".
Are there any plans for a version of MakeStyles which also works with react server components?
Edit: I also found this issue: #303 which speaks of server components but doesn't look like it reached the right conclusion.
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions