A tiny React hook for temporarily flashing state. This can be useful for updating text on buttons when a user clicks. For example:
https://codesandbox.io/s/modest-williamson-fk7mk?file=/src/App.tsx
A tiny React hook for temporarily flashing state. This can be useful for updating text on buttons when a user clicks. For example:
https://codesandbox.io/s/modest-williamson-fk7mk?file=/src/App.tsx
npm i react-use-flash
1
1.0.5
MIT
4.13 kB
8