Seb Toombs
May 12 2021 ()
2 min read
Two of the hardest to learn, and least understood concepts in React are context, and hooks. Learn a convenient method to share context with components via custom hook.
Seb Toombs
Apr 16 2020 ()
5 min read
Learn how to convert a React class component over to a React function component, with these quick steps. If you've got an older codebase, or you'd like to try the power of React hooks in your code, function components can be a great way to do it. Plus function components are less boilerplate and nicer to read!
Seb Toombs
Mar 26 2020 ()
5 min read
You've heard of React's hooks, but did you know you can roll your own? Find out how to make custom React hooks.
Seb Toombs
Apr 4 2020 ()
7 min read
Fetching remote data in React components can get a little messy. Learn how to use custom hooks to make data fetching a little bit easier.
Seb Toombs
Mar 23 2020 ()
6 min read
Listening to DOM events in React can quickly get messy. Luckily, custom React hooks can easily 'Reactify' our DOM events.