4 ms·
This is in context of React components which are functions but only ever executed by the React runtime itself. So there’s no other code that could catch the pr
by pavlov 5y ago
This is in context of React components which are functions but only ever executed by the React runtime itself.
So there’s no other code that could catch the promise. And if another component throws an error first, that’s what needs to be handled anyway.