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

Range not updated when properties change #5

Closed
aommm opened this issue Oct 14, 2015 · 1 comment · Fixed by #6
Closed

Range not updated when properties change #5

aommm opened this issue Oct 14, 2015 · 1 comment · Fixed by #6
Labels
Milestone

Comments

@aommm
Copy link
Contributor

aommm commented Oct 14, 2015

When I include and afterwards change x or y in the parent component, DateRange is not updated.

This is because DateRange doesn't use the props directly, but parses them and puts them into state, and this is only done in the constructor, and then never again.

@burakcan burakcan added the bug label Oct 14, 2015
@burakcan burakcan added this to the v0.5.6 milestone Oct 14, 2015
@burakcan burakcan reopened this Oct 19, 2015
@burakcan
Copy link
Collaborator

thanks @aommm :)
published v0.1.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants