Experimental SSR support
Functionality added to allow full SSR rendering support.
- Switched dynamic ID generation for spaces to use useId() hook from React 18
- Added component to enable functionality. Place a
<Space.SSR />
component above any use of spaces to enable - Server-side rendered styling of spaces
Note:
- You must be using React 18
- Order of spaces is important in the JSX/TSX. You should always put
<Fill />
spaces last within any parent