next.js
3cce038a - Reduce console error patching (#67433)

Commit
1 year ago
Reduce console error patching (#67433) ### What Remove few places of patching `console.error`. - We were using `patchConsole` to only access the error state for hydration errors, they can actually be merged into other console.error override. - We override `console.error` twice in both client entry of app router and the hydration error handler. Merge the later one into former one.
Author
Parents
Loading