[Bug]: No new lines in error decoder errors
Summary
Check out this error: https://react.dev/errors/418
It's formatted all on one line, but should have new lines.
Page
https://react.dev/errors/418
Details
No response
Hi, could you please assign this issue to me? I submitted a pull request separately and signed the CLA. Thank you
@rickhanlonii Good morning Ricky, just wanted to follow up on this issue, I submitted a pull request under #6735 and wasn't sure if there was any feedback for my proposed solution. Thanks!
Seems to include newlines now:
-- https://react.dev/errors/418
The only thing missing is handling empty strings. The hydration errors will always produce https://react.dev/errors/418?args[]= but that's interpreted as missing unfortunately.
I could reproduce it locally though it wasn't consistent. Should be fixed with https://github.com/reactjs/react.dev/pull/6767. https://github.com/reactjs/react.dev/pull/6735 didn't seem to fix this locally.