Lifecycles

Source: https://engineering.musefind.com/react-lifecycle-methods-how-and-when-to-use-them-2111a1b692b1The above is the life of a React component, from birth (pre-mounting) and death (un-mounting).

Through lifecycle methods, we can then control what happens when each tiny section of your UI renders, updates, thinks about re-rendering, and then disappears entirely.

results matching ""

    No results matching ""