dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M vendor/fbtransform/transforms/reactDisplayName.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…