Interpreting the Flamegraph
Let's take a look at the flow of the Flamegraph for our bank app.
We'll cover the following...
Components Rendered Needlessly
First, let’s consider what’s likely to be the root of the problem here. By default, whenever a Provider
has its value
changed, every child component is forced to re-render. That’s how the Consumer
gets ...