Skip to content

Commit 33b4cd4

Browse files
authored
Update README.md
1 parent 3130a1e commit 33b4cd4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ const useCurrentUserPosts = createStore(() => {
6868
```
6969

7070
# The benefits
71+
- Use hooks to manage global state, just like you manage local state
72+
- Use any custom hooks you already have inside the global state management
73+
- Stores won't rely on keys, giving better reusability
7174
- Stores are decoupled from component tree
7275
- You can use selectors and bail out of render
7376
- Stores can co-depend without worrying about provider order

0 commit comments

Comments
 (0)