Skip to content

Warn with two copies of React - #3332

Merged
sophiebits merged 1 commit into
react:masterfrom
sophiebits:warn-r2
Aug 12, 2015
Merged

sophiebits merged 1 commit into
react:masterfrom
sophiebits:warn-r2

Conversation

@sophiebits

Copy link
Copy Markdown
Collaborator

No description provided.

@sophiebits

Copy link
Copy Markdown
Collaborator Author

I was gonna just add a comment, but we may as well add a full-blown warning.

@sophiebits

Copy link
Copy Markdown
Collaborator Author

Hm, my test passes in jest but fails in grunt test.

@aaronshaf

Copy link
Copy Markdown

This would be great!

@sebmarkbage

Copy link
Copy Markdown
Contributor

Fix travis and then ship it?

@sophiebits

Copy link
Copy Markdown
Collaborator Author

@sebmarkbage Fixed Travis.

@chrisirhc

Copy link
Copy Markdown

Ping, seems like this PR is getting stale. I'm happy to re-roll this into a new fix if this needs some conflict resolution. Hitting this in multiple places.

@sophiebits sophiebits added this to the 0.14 milestone Jul 29, 2015
@sophiebits

Copy link
Copy Markdown
Collaborator Author

Couldn't rebase this to have it work at a first attempt. Maybe we work properly on this now? Not sure.

sophiebits added a commit that referenced this pull request Aug 12, 2015
Warn with two copies of React
@sophiebits
sophiebits merged commit 655b82f into react:master Aug 12, 2015
@JedWatson

Copy link
Copy Markdown
Contributor

😀 so happy about this - it's going to make so many support issues just disappear. Thanks @spicyj and everyone!

@sophiebits

Copy link
Copy Markdown
Collaborator Author

0.14 also has a few other improvements that should make having multiple copies of React no longer a problem in some cases so hopefully people stop running into these problems.

@JedWatson Thank you.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

A bit confused, why is .only there?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

My mistake, thanks.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

(#4609)

mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
Warn with two copies of React
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
Warn with two copies of React
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants