Hacker News new | ask | show | jobs
by rictic 171 days ago
Agree, for modern React with hooks. A React component looks like a normal function, only you can't call it. Only React can call it, in order to set up its hooks state.