logoalt Hacker News

ricticyesterday at 11:53 PM0 repliesview on HN

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.