dillon1000/react

Commit

[react-devtools-facade] Add includeHooks option to component lookup (#36874)

The tool now has a boolean argument which controls the presence of hook
tree in the return payload. If hooks were requested, and the inspection
fails, the error payload will be returned instead.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-devtools-facade/src/DevToolsFacadeTools.js ModifiedM packages/react-devtools-facade/src/DevToolsFacadeTreeTools.js ModifiedM packages/react-devtools-facade/src/__tests__/DevToolsFacade-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…