dillon1000/react
Commit
Browse files Enable hooks validation on playground, make deguggable
Enables hooks validation in playground. Also adds a tab to show the output of validation (in case it passes) with the inferred post dominator tree. We can use this to debug the dominator in case of false negatives. <img width="1724" alt="Screenshot 2023-05-11 at 11 07 08 AM" src="https://github.com/facebook/react-forget/assets/6425824/8f7ae472-8415-4899-aedf-c8f26094ebfe">
Changed paths5 files
First-parent comparisoncompiler/forget/packages/playground/components/Editor/Output.tsx ModifiedM compiler/forget/packages/playground/components/Editor/index.tsx ModifiedM compiler/forget/src/CompilerPipeline.ts ModifiedM compiler/forget/src/HIR/Dominator.ts ModifiedM compiler/forget/src/HIR/ValidateUnconditionalHooks.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…