4 ms·
The `reactProdInvariant` function [1] does the URL encoding job and the decoder on our documentation page is just a React component [2]. I totally understand yo
by keyanzhang 10y ago
The `reactProdInvariant` function [1] does the URL encoding job and the decoder on our documentation page is just a React component [2]. I totally understand your concern and for now you can simply edit the `reactProdInvariant` function to fit your needs.
[1] https://github.com/facebook/react/blob/master/src/shared/utils/reactProdInvariant.js https://github.com/facebook/react/blob/master/src/shared/uti...
[2] https://github.com/facebook/react/blob/master/docs/_js/ErrorDecoderComponent.js https://github.com/facebook/react/blob/master/docs/_js/Error...