Skip to content

Commit 9a73e5b

Browse files
Reorder README.md
1 parent 29a7da7 commit 9a73e5b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@ function Component() {
2323
}
2424
```
2525

26-
### Features
27-
28-
- ⏬ Lightweight
29-
- ✅ Concurrent React ready (avoids rendering stale state)
30-
- 🐋 Only updates components that need to be updated
31-
- 🔂 Uses an external event subscription to short-circuit context propagation
32-
- 🎈 Full Flow and TypeScript support coming soon
33-
- ⚛️ Works with your existing Redux-like store
34-
- 🎮 You’re in full control of your store and can use it outside React as well
35-
3626
## Requirements
3727

3828
__⚠️ To use `useSubstate`, you will need the unstable and experimental React 16.7.0-alpha.__
@@ -45,6 +35,16 @@ __⚠️ To use `useSubstate`, you will need the unstable and experimental React
4535
npm install --save use-substate
4636
```
4737

38+
## Features
39+
40+
- ⏬ Lightweight
41+
- ✅ Concurrent React ready (avoids rendering stale state)
42+
- 🐋 Only updates components that need to be updated
43+
- 🔂 Uses an external event subscription to short-circuit context propagation
44+
- 🎈 Full Flow and TypeScript support coming soon
45+
- ⚛️ Works with your existing Redux-like store
46+
- 🎮 You’re in full control of your store and can use it outside React as well
47+
4848
## Usage
4949

5050
You can use `useSubstate` with your existing [Redux][] store or with a simple alternative (like [`create-state`](https://github.com/philipp-spiess/create-state)). This package will export a [React Context](https://reactjs.org/docs/context.html) consumer (`SubstateContext`) as well the `useSubstate` hook.

0 commit comments

Comments
 (0)