Skip to content

fix a bug that happens when variable names are minified#10

Closed
AmrN wants to merge 1 commit into
cloudinary:masterfrom
AmrN:master
Closed

fix a bug that happens when variable names are minified#10
AmrN wants to merge 1 commit into
cloudinary:masterfrom
AmrN:master

Conversation

@AmrN
Copy link
Copy Markdown

@AmrN AmrN commented Mar 12, 2017

React uses the function's name as the Component's display name, so when variables are minified Transformation may become T, and therefore a test such as child.type.name === "Transformation" evaluates to false causing transformations to be lost.

@tocker
Copy link
Copy Markdown
Contributor

tocker commented Jun 27, 2017

@AmrN Thanks for issuing this pull request!

Please review the alternative approach we used at 2d3afdf.

Does this solve your problem?

@eitanp461
Copy link
Copy Markdown
Contributor

@eitanp461 eitanp461 closed this Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants