React hooks are a way to work with state without writing a class component. Here is a list of some typically used hooks.

useState-Returns a stateful value, and a function to update it. During the initial render, the returned state (state) is the same as the value passed as the first argument (initialState).The setState function is used to update the state. It accepts a new state value and enqueues a re-render of the component…