react-use-count-down
react-use-count-down copied to clipboard
Dead simple yet powerful countdown hook for React.
It could be great to have tome insight on the countdown, ot be aware if it's running, paused, completed/finished.
Hi) Thank you for a nice and clean lib. I have a question/proposal for you. How is it supposed to be used to run some logic at the end of...
Creates an options parameter that receives optional configurations, such as interval, onStart, and onFinish. onStart runs every time the countdown starts onFinish runs every time the countdown reaches zero.
The published version has flattened file structure, which means the references to `source`, `main`, `module`, `unpkg` in package.json are wrong, leading to problems with bundlers using those fields (e.g. vite)....
If you leave the page in another tab, browse in another tab, wait some time then come back to the tab with the Countdown, notice the countdown tried to countdown...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.9.6 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
Hello, I'm using nextjs@^13.5.4 and react-countdown-hook@^1.1.3 Some warnings printed in terminal when i try to build my app: ``` Collecting page data ..(node:121361) [DEP0128] DeprecationWarning: Invalid 'main' field in '/SOME_DIRECTORIES/frontend/node_modules/react-countdown-hook/package.json'...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Hi thanks for the lib. It would be useful to start the countdown immediately without manually calling `start`