https://github.com/kyle-west/hooked-on-react-hooks
Understand hooks by building some of them from scratch
https://github.com/kyle-west/hooked-on-react-hooks
Last synced: 3 months ago
JSON representation
Understand hooks by building some of them from scratch
- Host: GitHub
- URL: https://github.com/kyle-west/hooked-on-react-hooks
- Owner: kyle-west
- Created: 2022-10-09T03:27:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-12T14:23:40.000Z (over 2 years ago)
- Last Synced: 2025-01-10T04:24:54.130Z (5 months ago)
- Language: JavaScript
- Size: 162 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hooked on React Hooks
This is part of a presentation I have where we explore the "under the hood" behaviors of common React hooks by building them from scratch.
The slides to which this presentation is a part of can be found [here](https://slides.kylewest.dev/hooked-on-usestate.html).
## Hooks covered
In order (because you can build new hooks from the previous ones)
- `useRef`
- `useEffect`
- `useMemo`
- `useCallback`
- `useReducer`## I just want the answers
That's fine, just take a look in the `freact-final` folder.
## Resources
API descriptions can be found in the [React Docs](https://reactjs.org/docs/hooks-reference.html).
Here is a link to [my website](https://kylewest.dev) with my contact info if you have any questions.