Back to Blog

The rules of React hooks—and how we messed up

React Hooks have quickly become the recommended way to handle component local state and side effects in React function components. Getting started with hooks is quite straightforward, but you might need to change the way you think about your components, especially when it comes to the useEffect hook.

Author

  • Portrait of Olavi Haapala
    Olavi Haapala
    Software Developer