0 votes
in ReactJS by

What happens during the lifecycle of a React component?

1 Answer

0 votes
by

At the highest level, React components have lifecycle events there are three general categories:

  1. Initialization
  2. State/Property Updates
  3. Destruction

Every React component defines these events as a mechanism for managing its properties, state, and rendered output. Some of these events only happen once, others happen more frequently; understanding these three general categories should help you clearly visualize when certain logic needs to be applied.

Related questions

0 votes
asked Jul 2, 2019 in ReactJS by Venkatshastri
0 votes
asked Jul 2, 2019 in ReactJS by Venkatshastri
...