dillon1000/react

Commit

[react-interactions] Press with useRef instead of useState (#16870)

We only need to read and modify the value for the lifetime of the hook
Browse files
Changed paths2 files
First-parent comparison
M packages/react-interactions/events/src/dom/Press.js ModifiedM packages/react-interactions/events/src/dom/testing-library/domEvents.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…