We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bb22ab commit 6124e4bCopy full SHA for 6124e4b
README.md
@@ -22,17 +22,15 @@
22
<br />
23
24
25
- <pre>
26
-npm i <a href="https://www.npmjs.com/package/react-use">react-use</a>
27
- </pre>
+ <pre>npm i <a href="https://www.npmjs.com/package/react-use">react-use</a></pre>
28
29
30
</div>
31
32
33
## Reference
34
35
-- State
+- [__State__](./docs/State.md)
36
- [`useToggle`](./docs/useToggle.md) — tracks state of a boolean.
37
- [`useCounter`](./docs/useCounter.md) — tracks state of a number.
38
- [`useList`](./docs/useList.md) — tracks state of an array.
docs/State.md
@@ -0,0 +1,3 @@
1
+# State
2
+
3
+*"State Hooks"* allow you to easily manage state of booleans, arrays, and maps.
0 commit comments