Sebastian "Sebbie" Silbermann
Sebastian "Sebbie" Silbermann
**What**: Alternate to https://github.com/testing-library/react-testing-library/pull/1333 Adds support for `onRecoverableError` and `onCaughtError` (React 19 only) `onUncaughtError` is not supported yet because there's no use. The `render` would throw anyway. We're likely going...
This has no effect right now since `latest` and `18.x` point at the same version. Once React 19 is out, we'll be running tests in both 18 and 19. The...
Docs for https://github.com/testing-library/react-testing-library/pull/1354 https://deploy-preview-1417--testing-library.netlify.app/docs/react-testing-library/api#oncaughterror https://deploy-preview-1416--testing-library.netlify.app/docs/react-testing-library/faq/ Testing error boundaries is closely related to `onCaughtError` so it felt natural to include docs here.
Closes https://github.com/vercel/next.js/pull/71711 **breaking change for canary users: Bumps peer dependency of React from `19.0.0-rc-69d4b800-20241021` to `19.0.0-rc-45804af1-20241021`** [diff facebook/[email protected]](https://github.com/facebook/react/compare/69d4b800...45804af1) React upstream changes - https://github.com/facebook/react/pull/31314
`npm view` prints a notice when a new update is available to `stderr` tricking us into thinking there was an error. ``` npm notice npm notice New minor version of...
### Basic info: - **Node.js version:** 10.22.0 - **jsdom version:** > The closest I could find jsdom/jsdom#2931 ### Minimal reproduction case ```js const { JSDOM } = require("jsdom"); const {window:...
This matches how we special case certain errors already. Since we only do this in dev, we only include the codeframe in dev. This will allow us to replace the...
This enables DevTools (e.g. Chrome debugger) to collapse stackframes from 3rd party dependencies. Webpack only. Turbopack added support in https://github.com/vercel/next.js/pull/71770. Replays from RSC will follow. Had to fork `EvalSourceMapDevToolPlugin` (with...
We already create server source maps in dev by default, so we should make use of them. To opt-out, run `next dev --disable-source-maps` instead. Our internal `next-no-sourcemaps` script is now...