28 Aug 2020 . Min ReadHow react hooks work?
With Hooks, you can extract stateful logic from a component so it can be tested independently and reused. Hooks allow you to reuse statefull logic without changing your component hierarchy. This makes it easy to share Hooks among many components or with the community.