Hiprup
React

What is the difference between functional and class components?

Functional components are plain JavaScript functions that accept props and return JSX.

Loading question...
What is the difference between functional and class components? | Hiprup