big-design icon indicating copy to clipboard operation
big-design copied to clipboard

feat: react server component support

Open chanceaclark opened this issue 1 year ago • 0 comments


⚠️ 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...

chanceaclark avatar Apr 28 '23 15:04 chanceaclark