215,718 views
31 votes
31 votes
How to clear a function in functional component react.

User Hunghd
by
2.2k points

1 Answer

22 votes
22 votes

Answer:

React Function Components -- also known as React Functional Components -- are the status quo of writing modern React applications. In the past, there have been various React Component Types, but with the introduction of React Hooks it's possible to write your entire application with just functions as React components.

Step-by-step explanation:

User Esteban Vallejo
by
3.1k points