mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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.