3 ms·
Wait, can render functions now throw, legally?
by wereHamster 9y ago
Wait, can render functions now throw, legally?
- timdorr 9y agoYup. This builds on error boundaries and componentDidCatch: https://reactjs.org/blog/2017/07/26/error-handling-in-react-16.html https://reactjs.org/blog/2017/07/26/error-handling-in-react-...
- danabramov 9y agoYes. (For this use case.)