4 ms·
True, you cannot do that in useEffect, it will throw you error. And probably your linter will tell you. You can't even use your own or third party hooks in side
by tanaypingalkar 5y ago
True, you cannot do that in useEffect, it will throw you error. And probably your linter will tell you. You can't even use your own or third party hooks in side useEffect. This also throw error I don't know why?
- gassiss 5y agoBecause you could be nesting hooks, which would bring all sorts of weird behavior.