2 ms·
> and that state management is going to get to hardwired to the UI component library I don't really see how that's a different state of affairs than class-base
by crooked-v 6y ago
> and that state management is going to get to hardwired to the UI component library
I don't really see how that's a different state of affairs than class-based components. You just do this if you wanted...
const [thisState, setState] = useState({});
...and its uses would generally be semantically identical to state-based stuff without hooks.