DEV Community

Discussion on: Fetching data and creating a custom hook. 🪝

Collapse
 
franklin030601 profile image
Franklin Martinez

A Hook is a javascript function that allows you to create/access React state and lifecycles.
Check this article:
freecodecamp.org/news/react-hooks-...