mirror of
https://github.com/streamich/react-use.git
synced 2025-12-08 18:02:14 +00:00
docs: ✏️ simplify README
This commit is contained in:
parent
7c93cd1236
commit
63f3a60742
@ -126,8 +126,7 @@
|
||||
- [**State**](./docs/State.md)
|
||||
- [`createMemo`](./docs/createMemo.md) — factory of memoized hooks.
|
||||
- [`createReducer`](./docs/createReducer.md) — factory of reducer hooks with custom middleware.
|
||||
- [`createReducerContext`](./docs/createReducerContext.md) — factory of context hooks for a shared state among components with a reducer.
|
||||
- [`createStateContext`](./docs/createStateContext.md) — factory of context hooks for a shared state among components.
|
||||
- [`createReducerContext`](./docs/createReducerContext.md) and [`createStateContext`](./docs/createStateContext.md) — factory of hooks for a sharing state between components.
|
||||
- [`useDefault`](./docs/useDefault.md) — returns the default value when state is `null` or `undefined`.
|
||||
- [`useGetSet`](./docs/useGetSet.md) — returns state getter `get()` instead of raw state.
|
||||
- [`useGetSetState`](./docs/useGetSetState.md) — as if [`useGetSet`](./docs/useGetSet.md) and [`useSetState`](./docs/useSetState.md) had a baby.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user