big-design
big-design copied to clipboard
feat: react server component support
⚠️ This PR will not just work (hence draft PR), getting some React hydration issues after adding use client throughout the codebase, plus there's some other React warnings with defaultProps and others.
What?
Adding support for React Server Components (RSC).
Why?
Currently, styled-components uses the context API + a lot of our components are stateful in a way so the best solution for now was to add use client for all the components/exported hooks.
Screenshots/Screen Recordings
TBD...
Testing/Proof
TBD...