Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ReactInstrumentation #6068

Merged
merged 1 commit into from Feb 26, 2016
Merged

Add ReactInstrumentation #6068

merged 1 commit into from Feb 26, 2016

Commits on Feb 18, 2016

  1. Add ReactInstrumentation

    This adds `ReactInstrumentation` for the isomorphic package that uses the same approach as `ReactDOMInstrumentation`. Currently it is gated behind `__DEV__` but we will likely change this later to a runtime flag determined by whether there are any active listeners.
    
    The first few events we add here should be sufficient for React DevTools, as determined by the `hook.emit()` calls in https://github.com/facebook/react-devtools/blob/d90c43201617d5aef378669da926d79515b6a811/backend/attachRenderer.js.
    
    These events will also be useful for reconstructing the parent tree in the ReactPerf rewrite in #6046.
    gaearon committed Feb 18, 2016
    Configuration menu
    Copy the full SHA
    3863330 View commit details
    Browse the repository at this point in the history