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

v3: fix React version detection for lifecycle renaming #6961

Merged
merged 1 commit into from
Oct 3, 2019

Conversation

henryqdineen
Copy link

@henryqdineen henryqdineen commented Oct 3, 2019

The existing version detection was broken because parseFloat('16.10.1') results in 16.1. Solution borrowed from reduxjs/react-redux#1407

We still have several dozen apps using react-router@3 and this fix would be useful for us. Thanks!

@henryqdineen henryqdineen changed the title Fix React version detection for deprecated lifecycles v3: fix React version detection for deprecated lifecycles Oct 3, 2019
@henryqdineen henryqdineen changed the title v3: fix React version detection for deprecated lifecycles v3: fix React version detection for lifecycle renaming Oct 3, 2019
@timdorr
Copy link
Member

timdorr commented Oct 3, 2019

Thanks!

@timdorr timdorr merged commit 3865afe into remix-run:v3 Oct 3, 2019
@henryqdineen henryqdineen deleted the react-16.10.1-compat branch October 3, 2019 21:16
@lock lock bot locked as resolved and limited conversation to collaborators Dec 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants