Skip to content

Fix for displayName transform#2905

Closed
kassens wants to merge 1 commit intofacebook:masterfrom
kassens:transform
Closed

Fix for displayName transform#2905
kassens wants to merge 1 commit intofacebook:masterfrom
kassens:transform

Conversation

@kassens
Copy link
Copy Markdown
Member

@kassens kassens commented Sep 21, 2015

The react.displayName transform was added in 93b9329.

That diff missed to update the .babelrc where the comment says it should stay
in sync (I'm not sure where it's used though). I added a comment in the other
direction so this can be prevented in the future.

I also updated the cacheVersion so we actually transform the code again to add
the missing displayName properties to unchanged components.

@ide
Copy link
Copy Markdown
Contributor

ide commented Sep 22, 2015

LGTM -- @kassens can you summon the bot to import this?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is not synced internally. Can you submit a different pull request for this one?

@kassens
Copy link
Copy Markdown
Member Author

kassens commented Sep 23, 2015

The `react.displayName` transform was added in 93b9329. That diff missed to update the `.babelrc` where the comment says it should stay in sync (I'm not sure where it's used though). I added a comment in the other direction so this can be prevented in the future. I also updated the `cacheVersion` so we actually transform the code again to add the missing displayName properties to unchanged components.
@facebook-github-bot
Copy link
Copy Markdown
Contributor

Thanks for importing. If you are an FB employee go to https://our.intern.facebook.com/intern/opensource/github/pull_request/160433834297838/int_phab to review.

kassens added a commit to kassens/react-native that referenced this pull request Sep 23, 2015
As requested by @vjeux, this moves the change to this file to a separate PR. For more info see facebook#2905.
@ghost ghost closed this in 974ec05 Sep 24, 2015
@kassens kassens deleted the transform branch September 24, 2015 15:36
MattFoley pushed a commit to skillz/react-native that referenced this pull request Nov 9, 2015
As requested by @vjeux, this moves the change to this file to a separate PR. For more info see facebook#2905.
MattFoley pushed a commit to skillz/react-native that referenced this pull request Nov 9, 2015
Summary: The `react.displayName` transform was added in 93b9329. That diff missed to update the `.babelrc` where the comment says it should stay in sync (I'm not sure where it's used though). I added a comment in the other direction so this can be prevented in the future. I also updated the `cacheVersion` so we actually transform the code again to add the missing displayName properties to unchanged components. Closes facebook#2905 Reviewed By: @vjeux Differential Revision: D2473447 Pulled By: @kassens
cpojer pushed a commit to facebook/metro that referenced this pull request Jan 26, 2017
Summary: The `react.displayName` transform was added in 93b9329b758cde3e921b26e11ba91d9700d2a06d. That diff missed to update the `.babelrc` where the comment says it should stay in sync (I'm not sure where it's used though). I added a comment in the other direction so this can be prevented in the future. I also updated the `cacheVersion` so we actually transform the code again to add the missing displayName properties to unchanged components. Closes facebook/react-native#2905 Reviewed By: @vjeux Differential Revision: D2473447 Pulled By: @kassens
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

4 participants