OpenHive — Open-source Slack alternative using Zustand for state management #3426
Unanswered
arseneHuot
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Zustand community! 👋
I built OpenHive — an open-source, self-hosted Slack alternative, and Zustand is at the heart of the state management.
How we use Zustand
OpenHive relies on a single Zustand store (
app-store.ts) to manage:Zustand made it incredibly simple to share state across deeply nested components (sidebar, chat view, thread panel, call UI) without prop drilling or heavy context providers. The flat store pattern works perfectly for a real-time messaging app.
Tech Stack
Try it
Setup wizard handles everything — connects to Supabase and provisions all 23 database tables automatically.
🔗 GitHub: https://github.com/arseneHuot/openhive
Would love feedback from the Zustand community! The store is in
src/lib/store/app-store.tsif you want to check out the pattern.Beta Was this translation helpful? Give feedback.
All reactions