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

Move onLocationChanged to componentDidMount #217

Merged
merged 1 commit into from Dec 27, 2018

Conversation

supasate
Copy link
Owner

Based on the discussion in #208, this PR moves the initial call of onLocationChanged to componentDidMount to prevent side-effect in the constructor.

@supasate supasate merged commit 61a96c8 into master Dec 27, 2018
@supasate supasate deleted the move-onlocationchanged-to-didmount branch December 27, 2018 18:30
pmarfany added a commit to lluistfc/connected-react-router that referenced this pull request Apr 30, 2019
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