Next.js Example
Share global client state with r18gs
Unleash the power of React Server Components! No wrapper required.
Supports tree shakable libraries.
Sharing state between client components without any wrapper or provider.
Clinet component 1
Client component 2
0Clinet component 1
Client component 2
0Persistant counter - Also synced with multiple tabs
Persistant Counter
Duplicate this tab to see state sharing between tabs in action