react : functionalcomponent vs class component
Was playing around with Nextjs and the code that keeps on popping up are Functional component (as shown in code below).
The difference between functional and class component.
Functional component
Class component
Comments