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

added component functions to manipulate selected list #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

trshafer
Copy link
Collaborator

changed defaultSelected to no longer modify the selected list after the first render
I accidentally fell into the trap of https://facebook.github.io/react/tips/props-in-getInitialState-as-anti-pattern.html

hey @fmoo this is no longer backward compatible with previous versions because of the breaking defaultSelected change. Let me know your thoughts.

@trshafer trshafer force-pushed the component-functions-over-changing-props branch from b154046 to 8c10218 Compare October 29, 2015 16:57
@trshafer
Copy link
Collaborator Author

Hey @fmoo I rebased off master. Ready to merge when you're ready, assuming you like the additions.

changed defaultSelected to no longer modify the selected list after the first render
I accidentally fell into the trap of https://facebook.github.io/react/tips/props-in-getInitialState-as-anti-pattern.html
@trshafer trshafer force-pushed the component-functions-over-changing-props branch from 8c10218 to 330ac9f Compare March 15, 2016 21:06
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