Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In Vue, if a component's setup or render functions crash, the component and its children just don't render and the parent is unaffected. It doesn't unmount components that crash later either. I guess that means Vue has an implicit error boundary around every component, and if you want different behavior, you set the errorCaptured hook to do something else.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: