dillon1000/react
Commit
Browse files Added simple hooks support (same as in legacy DevTools for now)
I had to add a couple of comments because Flow was being a mysterious little shit and I got tired of trying to work around it.
Changed paths12 files
First-parent comparisonshells/dev/app/InspectableElements/Contexts.js ModifiedA shells/dev/app/InspectableElements/CustomHooks.js AddedD shells/dev/app/InspectableElements/FunctionWithState.js DeletedA shells/dev/app/InspectableElements/InspectableElements.css AddedM shells/dev/app/InspectableElements/InspectableElements.js ModifiedM src/backend/renderer.js ModifiedM src/backend/types.js ModifiedM src/devtools/views/HooksTree.css ModifiedM src/devtools/views/HooksTree.js ModifiedM src/devtools/views/InspectedElementTree.js ModifiedM src/devtools/views/SelectedElement.js ModifiedA src/devtools/views/utils.js AddedPatch
Files changed
Rendering syntax-highlighted changes…