Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(1.3) Fix ReactMount import for React 15.4 #430

Merged
merged 2 commits into from
Nov 28, 2016

Conversation

calesce
Copy link
Collaborator

@calesce calesce commented Nov 28, 2016

Please Note: this is a breakfix because this broke a many people's apps and will probably be the last 1.x fix.

This will still support pre-15.4 by using a try-catch and adding the correct
import statement based on whether importing it from react-dom (the new
way) fails.

I've tested this with React 15.4, 15.3, and 0.14.

Keep supporting pre-15.4 by using a try-catch and adding the correct
import statement based on whether importing it from react-dom (the new
way) fails.
@calesce calesce changed the title Fix ReactMount import for React 15.4 (1.3) Fix ReactMount import for React 15.4 Nov 28, 2016
@calesce calesce merged commit 7509f42 into gaearon:master Nov 28, 2016
@calesce calesce deleted the react-15.4 branch November 28, 2016 12:35
flyskywhy added a commit to flyskywhy/react-web that referenced this pull request Mar 14, 2017
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.

None yet

1 participant