Hooks in React have been available since version
16.8. They are functions that allow you to use React state and a component's lifecycle methods in a functional component. Hooks do not work with classes. If you are familiar with React, you know that the functional component has been called as a functional stateless component. Not anymore.
This is a companion discussion topic for the original entry at https://blog.crowdbotics.com/build-a-react-app-with-localstorage-api-and-hooks/