dillon1000/react

Commit

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`.
Browse files
Changed paths2 files
First-parent comparison
M src/core/ReactCompositeComponent.js ModifiedM src/core/ReactOwner.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…