How to implement React Error Boundaries in 2026. Covers the class component pattern, the react-error-boundary library, Next.js App Router error.tsx, and when to use each. With TypeScript code examples.