Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.23 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.23 KB

React Hooks Re-intro

This repository is for React Hooks introduction.

It consists of several numbered branches.
In each branch readme file goes over the code,
explaining the advantages and caveats.

Here in the master branch is a plain CRA app.
There are some additional configs for eslint using eslint-config-fbjs
with eslint-plugin-react-hooks. And prettier config.

Disclaimer

Most stuff in this repo and posts have already been discussed,
by react team in the docs, by Dan Abramov in his amazing talk and blog,
and other people.

This repo is just a summation of my knowledge about hooks I gathered so far. Just putting stuff in my own words.

Resources

https://reactjs.org/docs/hooks-intro.html

https://dev.to/dan_abramov/making-sense-of-react-hooks-2eib

https://overreacted.io/react-as-a-ui-runtime/

https://overreacted.io/making-setinterval-declarative-with-react-hooks/

https://overreacted.io/how-are-function-components-different-from-classes/

https://overreacted.io/a-complete-guide-to-useeffect/

https://overreacted.io/writing-resilient-components/