From 6124e4b177b053a8fb892f94ebdcc2c79bf376ec Mon Sep 17 00:00:00 2001 From: streamich Date: Sat, 27 Oct 2018 13:23:54 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20add=20State=20refe?= =?UTF-8?q?rence?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++---- docs/State.md | 3 +++ 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 docs/State.md diff --git a/README.md b/README.md index 326565e8..9c8fedf4 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,7 @@


-
-npm i react-use
-  
+
npm i react-use


@@ -32,7 +30,7 @@ npm i react-use ## Reference -- State +- [__State__](./docs/State.md) - [`useToggle`](./docs/useToggle.md) — tracks state of a boolean. - [`useCounter`](./docs/useCounter.md) — tracks state of a number. - [`useList`](./docs/useList.md) — tracks state of an array. diff --git a/docs/State.md b/docs/State.md new file mode 100644 index 00000000..b9e6613f --- /dev/null +++ b/docs/State.md @@ -0,0 +1,3 @@ +# State + +*"State Hooks"* allow you to easily manage state of booleans, arrays, and maps. \ No newline at end of file