You probably don't need to lift state
This comes up a lot, and it’s easy to get wrong. It’s really easy to default to “lift state up” in React. I’m guilty. But that’s not always the right move. Quick rule of thumb Keep state as close as possible to where it’s actually used. Lift it when: Multiple...