graphprotocol / graphprotocol/hypergraph
Storage for the space event chain on the client
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 22
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
We want a DB that is reactive and supports hooks. Meaning whenever an entry changes (also in another tab) we can listen to it and update the UI.
For a first version IndexedDB could be good enough. But never investigated if reactivity is supported or anything in this direction on top of it exists.
As a WIP this could do: https://www.nico.fyi/blog/ssr-friendly-local-storage-react-custom-hook
Livestore (https://livestore.dev/) if we want to go all in Sqlite
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the IndexedDB approach and the linked SSR-friendly local-storage hook, then compare them with Livestore and its SQLite-based option. Define the first version's storage choice and verify that client-side changes, including changes from another tab, can trigger UI updates through hooks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sqlite, typescript
- Domain
- database, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100