mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
facebook.github.io/react -> reactjs.org (#12545)
This commit is contained in:
@@ -64,7 +64,7 @@ module.exports = function(babel) {
|
||||
// that references a verbose error message.
|
||||
// The mapping is stored in `scripts/error-codes/codes.json`.
|
||||
// - `PROD_INVARIANT` is the `reactProdInvariant` function that always throws with an error URL like
|
||||
// http://facebook.github.io/react/docs/error-decoder.html?invariant=XYZ&args[]=foo&args[]=bar
|
||||
// http://reactjs.org/docs/error-decoder.html?invariant=XYZ&args[]=foo&args[]=bar
|
||||
//
|
||||
// Specifically this does 3 things:
|
||||
// 1. Checks the condition first, preventing an extra function call.
|
||||
|
||||
Reference in New Issue
Block a user