0 votes
in ReactJS by

What is the higher-order component?

1 Answer

0 votes
by

In ReactJS high order component can be defined as the function that is mainly used to collect the component and returns a new component. These components are the patterns that are extracted from the React’s compositional nature. One important aspect of this component is that it is used as a reusable component logic in the React. It provides us with the best way to share behaviour between different React components.

Related questions

0 votes
asked Jun 19, 2020 in ReactJS by JackTerrance
0 votes
asked Jul 2, 2019 in ReactJS by Venkatshastri
...