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

Support editable useState hooks in DevTools #14906

Merged
merged 10 commits into from Feb 28, 2019

Commits on Feb 28, 2019

  1. Inject overrideHook() method to DevTools

    Brian Vaughn committed Feb 28, 2019
    Copy the full SHA
    dc2b45f View commit details
    Browse the repository at this point in the history
  2. Identify native hook index (for DevTools editable hooks)

    Brian Vaughn committed Feb 28, 2019
    Copy the full SHA
    6ee31b0 View commit details
    Browse the repository at this point in the history
  3. Added nativeHookIndex to HooksNode type

    Brian Vaughn committed Feb 28, 2019
    Copy the full SHA
    ccc895f View commit details
    Browse the repository at this point in the history
  4. Renamed nativeHookIndex -> index

    Brian Vaughn committed Feb 28, 2019
    Copy the full SHA
    bdba5d1 View commit details
    Browse the repository at this point in the history
  5. Changed overrideHook to support useReducer overrides; added isEditabl…

    …e bool to hooks metadata
    Brian Vaughn committed Feb 28, 2019
    Copy the full SHA
    72241a6 View commit details
    Browse the repository at this point in the history
  6. Renamed overrideHook -> overrideHookState

    Brian Vaughn committed Feb 28, 2019
    Copy the full SHA
    0ea3545 View commit details
    Browse the repository at this point in the history
  7. Update overrideHookState to account for bailout

    Brian Vaughn committed Feb 28, 2019
    Copy the full SHA
    8e3604b View commit details
    Browse the repository at this point in the history
  8. Renamed inspected hook isEditable to isStateEditable

    Brian Vaughn committed Feb 28, 2019
    Copy the full SHA
    30bb39b View commit details
    Browse the repository at this point in the history
  9. Renamed debug hook 'index' attr to 'id'. Updated to account for Conte…

    …xt not being in stateful list. Added inline comments.
    Brian Vaughn committed Feb 28, 2019
    Copy the full SHA
    cdd9ba4 View commit details
    Browse the repository at this point in the history
  10. Added an integration test for React DevTools + react-debug-tools + ed…

    …itable hooks
    Brian Vaughn committed Feb 28, 2019
    Copy the full SHA
    d450ead View commit details
    Browse the repository at this point in the history