Skip to content

Commit d52993f

Browse files
Update README.md
1 parent 565b68c commit d52993f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ function Component() {
1313
<div>
1414
{mappedState.count}
1515

16-
<button onClick={() => dispatch({ type: "INCREMENT" })}>Increment</button>
16+
<button
17+
onClick={() => dispatch({ type: "INCREMENT" })}
18+
>
19+
Increment
20+
</button>
1721
</div>
1822
);
1923
}
@@ -106,6 +110,12 @@ Every help on this project is greatly appreciated. To get you started, here's a
106110
4. Commit your changes ([here](https://chris.beams.io/posts/git-commit/) is a wonderful guide on how to make amazing git commits).
107111
5. After a few seconds, a button to create a pull request should be visible inside the [Pull requests](https://github.com/philipp-spiess/use-store/pulls) section.
108112

113+
## Future Improvements
114+
115+
- [ ] Find a better, more outstanding, name that also reflects what this thing is doing. (Current ideas: `useSelector`, `useReduxer`, `useGloducer`, `useStateAtom`, `useGlobalReducer`)
116+
- [ ] Add Flow and TypeScript types. This is actually very important for this library: Actions must be typed as an enum such that the type system can find out if we use the wrong type.
117+
- [ ] Improve test harness.
118+
109119
## License
110120

111121
[MIT](https://github.com/philipp-spiess/use-store/blob/master/README.md)

0 commit comments

Comments
 (0)