dillon1000/react

Commit

Add Profiler mode to fixtures even if React DevTools is not installed (#31877)

Currently you need to do one of either:

1. Install React DevTools
2. Install React Refresh
3. Add Profiler component

To opt in to component level profiling.

It was a bit confusing that some of the fixtures was doing 2 which made
them work while other was depending on if you had DevTools.

Really React Refresh shouldn't really opt you in I think.
Browse files
Changed paths2 files
First-parent comparison
M fixtures/flight/src/index.js ModifiedM fixtures/ssr/src/index.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…