Functional Component

Functional Component

A functional component in React refers to a normal JavaScript function, that is used as a component and can accept props and return React elements.

This is often used to differentiate between a functional component(ordinary function) and a Class Component in React.

Related topics

© 2024 MWXYZ