dillon1000/react

Commit

prop-types(symbols): rewrite isSymbol to be simpler 1) If it is a native Symbol 2) If it is spec-compliant 3) Try to match non-spec compliant polyfill by a instanceof check on Symbol if it exists in the global namespace

Browse files
Changed paths1 file
First-parent comparison
M src/isomorphic/classic/types/ReactPropTypes.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…