instructure-react / react-tinymce

React TinyMCE component
181 stars 115 forks source link

Solution for shouldComponentUpdate issue #15

Closed yborunov closed 8 years ago

yborunov commented 8 years ago

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.