Skip to content

Commit

Permalink
Expose the instance cache
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sebmarkbage authored and zpao committed Aug 30, 2013
1 parent c41e86c commit 75aee17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/ReactMount.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75aee17

Please sign in to comment.