dillon1000/react

Commit

DevTools Profiler commit selector wraps around (#17760)

I used to disable the <- and -> buttons when you reached the beginning or end of the profiler data. This can be kind of annoying though when you just want to get to the last commit, and I don't think there's a good reason to enforce it anyway, so I backed that change out. The buttons now wrap around at the beginning or end of the list.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-devtools-shared/src/devtools/views/Profiler/SnapshotSelector.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…