Jul 24, 2023
It's a bad solution tho. You just need to think of the initial state (coming from outside) and the current state (can be set from inside) as two different things, and then the performant solution is obvious.
It's a bad solution tho. You just need to think of the initial state (coming from outside) and the current state (can be set from inside) as two different things, and then the performant solution is obvious.
Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.