dillon1000/react
Commit
Browse files Fix ref behavior for remounting
I'm thinking that setting up `this.refs` in `mountComponent` is better than `construct`. Followed the same pattern as `ReactComponent.Mixin` and nulling out the value in `construct` and setting it to its initial value in `mountComponent`.
Changed paths2 files
First-parent comparisonsrc/core/ReactCompositeComponent.js ModifiedM src/core/ReactOwner.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…