Loading
Loading articles
By Kent C. Dodds
AI summary
This article explains why calling a React functional component as a regular function leads to the 'Rendered fewer hooks than expected' error. It clarifies that hooks must be tied to a component instance created by React's rendering engine, which is only triggered when using JSX or React.createElement.
Key points