Package updates and fixes
- Updated multiple dependencies
- Fix TS error for children props
- Lint updates
Fix type export definition.
Fix bug with disabled condition change not triggering a render
- Migrated library to TS: full TS support.
- Added optimization using
shouldComponentUpdate
. Avoids rerenders for every timer interval and input.
Updated package description and improved documentation.
Readded useKonami
hook.
Removed usage of useKonami
custom hook until it's ready to be used.
Add useKonami
custom hook.
Add missing onTimeout
to type definitions.
Unlisten keyup
event on componentWillUnmount
.
Fixes the following warning by properly clearing the timeout on componentWillUnmount
:
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
Adds typescript support.
Fixes third party vulnerabilities. v1.2.2 introduced an error with the dist file.
v1.2.2
Fixes third party vulnerabilities.
Adds testing and coverage support.
Updated package.json keywords for better searching.
Updated README with badges.
Initial release.
Since this is my first npm package I had some issues with versioning, but updates will be pushed from this release as usual.