dillon1000/react
Commit
Browse files Don't add displayName in transform if already defined
This ensures we don't add displayName in the transform if it's already been defined. This is especially important when in strict mode, where duplicate properties in an object is an exception.
Changed paths1 file
First-parent comparisonvendor/fbtransform/transforms/reactDisplayName.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…