c1980ce7b9
## What & Why When there's a bad nesting HTML tags occurred, we want to show the hydration mismatch with the warning of bad nesting. Multiple hydration errors emitted from `onRecoverableError` as react is trying re-render on client, and few more errors could throw from different places. But for alert the issue, we only need to know one hydration mismatch error instead of ### After Show the toast with error number first and only show one hydration error when you open <img width="200" src="https://github.com/vercel/next.js/assets/4800338/b57e73b9-60a6-4f09-9b71-e052121666f2"><img width="500" src="https://github.com/vercel/next.js/assets/4800338/9d409422-d513-4da0-ad6c-002c1ba7c497"> ### Before Mutiple hydration errors are displayed <img width="200" src="https://github.com/vercel/next.js/assets/4800338/8d6696a8-30de-496f-a9c4-bafb7d1f1d4c"><img width="500" src="https://github.com/vercel/next.js/assets/4800338/bc72bea9-85be-4bb2-b007-b88e655ade4e"> Closes NEXT-2315 |
||
---|---|---|
.. | ||
browsers | ||
next-modes | ||
test-data-service | ||
amp-test-utils.js | ||
create-next-install.js | ||
development-sandbox.ts | ||
e2e-utils.ts | ||
next-test-utils.ts | ||
next-webdriver.ts | ||
react-channel-require-hook.js | ||
test-log.ts | ||
turbo.ts | ||
use-temp-dir.ts |