Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class.
This repository contains some examples how to use React hooks and how the same logic would be implemented in React class components or functional component with Hooks