Skip to content

Commit 23e53a0

Browse files
author
Johannes Klauss
committed
Added what this is not section to readme.
1 parent c8f7a3e commit 23e53a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ export function ProductsList(props) {
5757

5858
Pretty neat, eh?
5959

60+
## What this is not
61+
This hook is just an abstraction for the data selecting and fetching logic you need to build
62+
inside your components. This is not handling the fetching and selecting logic itself. You need
63+
to provide that yourself via selectors and redux middleware with sagas, thunks, etc.
64+
6065
## Motivation & How it works
6166
Hooks are a great way to make our components leaner. With the release of react-redux 7 we
6267
can finally use Hooks to provide our store to components. Previously we had to use `connect` to

0 commit comments

Comments
 (0)