3 ms·
>E.g. calling `useState` multiple times with different (or the same!) arguments and getting different things back That's also the case with random(), time(), a
by coldtea 4y ago
>E.g. calling `useState` multiple times with different (or the same!) arguments and getting different things back
That's also the case with random(), time(), and in general any inpure function. Hardly "rule breaking".
- amalgamated_inc 4y agoSure, but in those cases it's inherent complexity, not made-up and unnecessary complexity.
- coldtea 4y agoWell, useState solves a problem too...