Functional components are JavaScript functions. Before the introduction of hooks, state and lifecycle methods were available to class components only. Now functional components can maintain state with useState hook.
rajamuhammadasher.com1 min read
No responses yet.