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

issue #185: fix out of date props render bug #187

Merged
merged 1 commit into from
Dec 17, 2017

Conversation

uforic
Copy link
Contributor

@uforic uforic commented Dec 13, 2017

Related to #185 - I was observing props passed down to child components as being out of date by one render cycle.

This was because the render was called before the new props had been received.

Another way of approaching this would be to make renderPortal make use of the new props (they are an argument that's not used), but this also works.

@tajo
Copy link
Owner

tajo commented Dec 14, 2017

Do you think we could have a test for this?

@tajo tajo merged commit 3a3cdf5 into tajo:master Dec 17, 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.

2 participants