React Hooks: The Deep Cuts | CSS-Tricks
React introduced hooks back in version 16.8 and has been adding more ever since. Hooks are reusable functions. They allow you to use state and other features (e.g. lifecycle methods and so on) without writing a class. While all React hooks are interesting in their own way, there are five of them that I really want to show you.