Releases: vydimitrov/use-count-up
Releases · vydimitrov/use-count-up
v3.0.1
v3.0.0
Breaking Changes:
- IE is not longer supported
autoResetKey
props has been deprecated.shouldUseToLocaleString
and the whole setup to use the built-intoLocaleString
out of the box has been deprecated. The same result can be achieved using theformatter
function.- React PropTypes has been removed as well as the
prop-types
peer-dependency. The component and hook will rely on the TypeScript types. prefix
andsuffix
props has been deprecated. The same result can be achieved just by adding them to in front and behind the value.
New features:
updateInterval
prop now determines how often the animated value will change. When set to 0 the value will update on each key frame (default behavior).onUpdate
callback will be fired with the current animated value when it changes.
Implemented enhancements:
- bundle size is now even further reduced
esbuild
is now used to bundle the code- example folder is added, which can be used for testing the hook and component
v2.3.1
chore: upgrade dependencies
v2.3.0
- add a list of the supported browsers to package.json
v2.2.6
- chore: Add renovate to the repo
- chore: Update all packages
2.2.5 (2020-09-10)
- upgrade rollup and rollup-terser packages