facebook/react — pull request #2262 by syranide (2014-09-27 19:12:11+00:00)
Title: Improve and simplify findComponentRoot, do not optimistically traverse foreign nodes

Based on code from #1570

Improved and simplified implementation of `findComponentRoot`. Makes less use of the "hacky" `ReactInstanceHandles`. Once `_parentComponent` makes it appearance, one way or another, the dependency on `ReactInstanceHandles` can be dropped entirely.

Test plan: `grunt test` and manual testing against our app