Skip to content

Solution for shouldComponentUpdate issue - #15

Merged
mzabriskie merged 1 commit into
instructure-react:masterfrom
yborunov:component-update-fix
Nov 5, 2015
Merged

Solution for shouldComponentUpdate issue#15
mzabriskie merged 1 commit into
instructure-react:masterfrom
yborunov:component-update-fix

Conversation

@yborunov

Copy link
Copy Markdown

Solution for issue #13

Simply does cloning of config object before passing it to _init method to prevent mutation of original config prop and therefore makes fair comparison possible between previous and next state of config object passed via props.

@yborunovyborunov changed the title Solution for shouldComponentUpdate issue #13Solution for shouldComponentUpdate issueNov 5, 2015
mzabriskie added a commit that referenced this pull request Nov 5, 2015
@mzabriskie
mzabriskie merged commit a27606f into instructure-react:masterNov 5, 2015
Sign up for freeto 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

@yborunov@mzabriskie