mirror of
https://github.com/facebook/react.git
synced 2026-02-26 00:25:12 +00:00
Because the JS community's polyfilling infrastructure sucks and we'll have to fix it for them before we require this. JSX spread uses React.__spread (which might get special behavior for key/ref, not sure yet) This never uses the native implementation and throws for prototype chains. Once the native implementations are faster, we'll start using them.
2 lines
16 B
JavaScript
2 lines
16 B
JavaScript
__DEV__ = true;
|