Introduction

Learn how to access the state of the router and perform navigation from inside function components using Hooks.

ESLint and Hooks

If we want to use Hooks and implement them in our applications, we need to follow a few rules that prevent us from running into unexpected errors or behaviors. ESLint and the eslint-plugin-react-hooks package, which has been developed by the React Team itself, helps us to follow these rules and indicate when we might be breaching one. We advocate for the use of ...