Expose the instance cache

We need access to the instance cache for debugging tools. Ideally we want to
expose a more stable and supported interface but this seems like a quick win,
for now.
This commit is contained in:
Sebastian Markbage
2013-08-30 13:15:21 -07:00
committed by Paul O’Shannessy
parent c41e86c990
commit 75aee1714b
+3
View File
@@ -211,6 +211,9 @@ var ReactMount = {
/** Whether support for touch events should be initialized. */
useTouchEvents: false,
/** Exposed for debugging purposes **/
_instanceByReactRootID: instanceByReactRootID,
/**
* This is a hook provided to support rendering React components while
* ensuring that the apparent scroll position of its `container` does not