dillon1000/react
Commit
Browse files 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
Changed paths1 file
First-parent comparisonsrc/isomorphic/classic/types/ReactPropTypes.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…