dillon1000/react

Commit

[playground] Fix useEffect on tabify (#34594)

There was a bug in the Compiler Playground related to the "Show
Internals" toggle due to a useEffect that was causing the tab names to
flicker from a rerender. Rewritten instead with a `<Suspense>` boundary
+ `use`.
Browse files
Changed paths3 files
First-parent comparison
M compiler/apps/playground/components/Editor/Output.tsx ModifiedM compiler/apps/playground/package.json ModifiedM compiler/apps/playground/yarn.lock Modified
Patch

Files changed

Rendering syntax-highlighted changes…