2 ms·
Hooks only work in function components, so there's no "this" (at least, not one that React owns...).
by dceddia 8y ago
Hooks only work in function components, so there's no "this" (at least, not one that React owns...).
- devit 8y agoCouldn't it just bind "this" to whatever object it uses to store component data?