You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*The graph database for delightful React state management*
11
+
*The React state management library for write-heavy applications*
12
12
13
+
## What and Why
13
14
14
-
Homebase React makes state management painless by enabling you to plug a relational graph database into your React application with just 3 lines of code. This is the same database that powers Roam Research and many other ClojureScript applications, but with an API that's familiar to React and JS developers.
15
+
As data and our need to annotate and organize it grows, so does our need for supporting state in *write-heavy* applications.
16
+
17
+
To solve this problem, modern write-heavy applications such as Superhuman, Roam Research, and Facebook Messenger built their own embedded data layers to enable these more sophisticated user experiences.
18
+
19
+
Homebase-react enables developers to access the same embedded datalog database as Roam Research through React hooks. You no longer have to build out a team or learn specialized tools like Clojure in order to build a delightful write-heavy application.
20
+
21
+
22
+
## Testimonials
23
+
> "Homebase is executing on the vision of data usage, portability, and management we had when building Firebase. We never got there. I'm excited!"
24
+
25
+
- James Tamplin, Founder/CEO of Firebase
26
+
27
+
> Datalog is the future of end-user programming, personal productivity software, p2p software, etc.
28
+
29
+
- Chet Corcos, Founding Engineer of Notion
15
30
16
31
## Install
17
32
@@ -26,22 +41,6 @@ yarn add homebase-react
26
41
## Docs
27
42
https://homebase.io/docs/homebase-react
28
43
29
-
## Features
30
-
- The simplest and most declarative state management solution
31
-
- The power of a backend relational graph database, but without having to wait on the network
32
-
- Convenient JSON query syntax
33
-
- Powerful Clojure style [Datalog](https://docs.datomic.com/on-prem/query.html) query syntax if you need it
34
-
- Traverse your data graph like it's a big JSON object
35
-
- Backup your data to the cloud
36
-
37
-
## Roadmap
38
-
39
-
1. Document integration with more backends
40
-
1. Swap [Datascript](https://github.com/tonsky/datascript) out for [Datahike](https://github.com/replikativ/datahike)
41
-
1. Immutability
42
-
1. History / Change Tracking
43
-
2. Persist to IndexedDB
44
-
3.[Local-first](https://www.inkandswitch.com/local-first.html) conflict resolution for offline caching and sync between multiple devices
45
44
46
45
## Examples
47
46
### Live Demos
@@ -189,6 +188,18 @@ This hook returns the current database client with some helpful functions for sy
189
188
190
189
Check out the [Firebase example](https://homebaseio.github.io/homebase-react/#!/example.todo_firebase) for a demonstration of how you might integrate a backend.
191
190
191
+
## Roadmap
192
+
193
+
1. Document integration with more backends
194
+
2. Swap [Datascript](https://github.com/tonsky/datascript) out for [Datahike](https://github.com/replikativ/datahike)
195
+
1. Immutability
196
+
2. History / Change Tracking
197
+
3. Persist to IndexedDB
198
+
4.[Local-first](https://www.inkandswitch.com/local-first.html) conflict resolution for offline caching and sync between multiple devices
199
+
200
+
## Limitations
201
+
Homebase React is currently not a good choice for read-heavy applications (e.g. Twitter, ecommerce). We plan to support these query patterns with our [platform](http://homebase.io) eventually.
0 commit comments