3 ms·
And with hooks that's become even more true, there's now a distinction between React functions and regular JavaScript functions, and you can only call a React f
by rictic 5y ago
And with hooks that's become even more true, there's now a distinction between React functions and regular JavaScript functions, and you can only call a React function from another React function.
- purplerabbit 5y agoNot entirely true. Hookless function components can be called as regular old functions just fine