Hacker News new | ask | show | jobs
by awayto 1083 days ago
I wonder if error boundary components/functionality are an anti-pattern. They invite the developer to create components which expect to fail. Even basic hide/show logic is better than expecting devs to orchestrate unified error handling across the app.
1 comments

What's wrong with components that expect to fail? Don't you need some way to notify users of predictable problems?