mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
d703a879f2e43b0057cd2518e1feb28225d3ca8f
Updates the error decoder to the URL for the new docs site.
- Switches the domain from reactjs.org to react.dev
- Switches to put the error code in the URL for SSG
- All params are still in the query
Example without args:
- Before: `https://reactjs.org/docs/error-decoder.html?invariant=200`
- After: ` https://react.dev/errors/200`
Example with args:
- Before:
`https://reactjs.org/docs/error-decoder.html?invariant=124?args[]=foo&args[]=bar
`
- After: ` https://react.dev/errors/124?args[]=foo&args[]=bar`
Requires: https://github.com/reactjs/react.dev/pull/6214
---------
Co-authored-by: Jan Kassens <jkassens@meta.com>
DiffTrain build for [b300304710](https://github.com/facebook/react/commit/b3003047101b4c7a643788a8faf576f7e370fb45)
Please do not delete this branch
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%