Hooks were introduced in React 16.8 in late 2018. They are functions that hook into a functional component and allow us to use state and component features like componentDidUpdate, componentDidMount, ...
React Hooks are a welcome addition to React 16.8, but come with a significant drawback for local development when NPM Link is also being used. In iPlayer Web, we’ve come up with a workaround! Read on ...