React offers a strict in which it calls each component's function twice during development. This allows us to find components that aren't [[Pure Functions]] and change variables during rendering. --- https://react.dev/learn/keeping-components-pure