r18gs

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

0

Clinet component 1

Client component 2

0

Persistant counter - Also synced with multiple tabs

Persistant Counter

Duplicate this tab to see state sharing between tabs in action

Docs ->

Explore the official docs.

More Examples ->

Explore more examples on official GitHub Repo.

Fork Me on GitHub