12 ms·
Why couldn't one just pass in `this` to useState, a key, or something similar? Like, if I have two state variables, pass in a name for both, instead of relying
by maaaats 8y ago
Why couldn't one just pass in `this` to useState, a key, or something similar?
Like, if I have two state variables, pass in a name for both, instead of relying on the order being the same.