Why React Functional Component(Hooks) were needed
Before Hooks were introduced, it was a compulsion to use the React Class component just for the sake of using states. Later, in 2018, Hooks were introduced in React 16.8 to solve this problem.
Let’s first see the difference between a class & function...
sinapradip.hashnode.dev1 min read