Code reuse is very necessary for scaling. We’ll be looking at what React hooks are and how we can use them to keep our components D.R.Y. Hooks are a new feature proposal that lets you use state and other React features without writing a class. They’re currently in React v16.7.
Full article