At the highest level, React components have lifecycle events there are three general categories:
- Initialization
- State/Property Updates
- 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.