- clone it
cd react-hooks-examples
yarn install
- in separate terminal tab:
npm run server
- back in first terminal tab:
yarn start
You can watch the recorded talk that these examples were prepared for here.
- built-in hooks are like the lego blocks
- custom hooks are composite building blocks
- You can find the various examples under the src/ex folder.
- The official docs for Hooks
- The Hooks reference
- The Hooks FAQ