Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on React is becoming a black box. Parent comment
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({});
There are no comments on this comment yet.
I don't really see how that's a different state of affairs than class-based components. You just do this if you wanted...
...and its uses would generally be semantically identical to state-based stuff without hooks.