React Countup Versions Save

💫 A configurable React component wrapper around CountUp.js

v6.1.1

2 years ago
  • Update default duration to 2 (#605) f5418d0
  • Bump follow-redirects from 1.13.0 to 1.14.7 in /demo (#604) dfb5314
  • Bump @babel/core from 7.16.0 to 7.16.7 (#601) db1d47a
  • Bump @babel/preset-react from 7.16.0 to 7.16.7 (#591) b47ddc3
  • Bump @babel/preset-typescript from 7.16.0 to 7.16.7 (#592) fbc531a
  • Bump pretty-quick from 3.1.2 to 3.1.3 (#598) 2a05f65
  • Bump jest from 27.4.2 to 27.4.5 (#599) 61ec022
  • Bump @rollup/plugin-node-resolve from 13.0.6 to 13.1.2 (#602) 54155aa
  • Bump eslint-plugin-react from 7.27.1 to 7.28.0 (#593) 3386525
  • Bump rollup from 2.60.2 to 2.62.0 (#594) 60e9c85
  • Bump babel-jest from 27.4.2 to 27.4.5 (#595) a69957f
  • Bump typescript from 4.5.2 to 4.5.4 (#596) b354c0b
  • Bump @babel/preset-env from 7.16.4 to 7.16.7 (#597) a1eeb56
  • Bump prettier from 2.5.0 to 2.5.1 (#600) 517a152
  • Bump jest from 27.3.1 to 27.4.2 (#590) a998bd1
  • Bump prettier from 2.4.1 to 2.5.0 (#588) 8f4eeda
  • Bump @babel/preset-env from 7.16.0 to 7.16.4 (#587) 6b75be6
  • Bump babel-jest from 27.3.1 to 27.4.2 (#589) a264c39
  • Bump eslint-plugin-react-hooks from 4.2.0 to 4.3.0 (#586) d997d12
  • Bump eslint-plugin-react from 7.26.1 to 7.27.1 (#584) 7b1877c
  • Bump typescript from 4.4.4 to 4.5.2 (#585) d5c0766
  • Bump @babel/core from 7.15.5 to 7.16.0 (#583) d0ded42
  • Bump rollup from 2.59.0 to 2.60.2 (#582) 423ae96
  • Bump pretty-quick from 3.1.1 to 3.1.2 (#581) 4daac94

https://github.com/glennreyes/react-countup/compare/v6.1.0...v6.1.1

v6.1.0

2 years ago
  • Update README.md 91401f1
  • Add initial start value for CountUp component (#580) 239d009
  • Update README.md f31808b
  • Export component props type 5acdbb3
  • Bump rollup from 2.58.0 to 2.59.0 (#579) dbc6e9f
  • Bump @babel/preset-react from 7.14.5 to 7.16.0 (#578) e0e37c4
  • Bump @babel/preset-typescript from 7.15.0 to 7.16.0 (#575) 9262995
  • Bump babel-jest from 27.2.4 to 27.3.1 (#572) 5a311be
  • Bump rollup from 2.58.0 to 2.58.3 (#576) b27b556
  • Bump @typescript-eslint/eslint-plugin from 4.32.0 to 4.33.0 (#574) e338e22
  • Bump typescript from 4.4.3 to 4.4.4 (#577) 7b4430d
  • Bump @babel/preset-env from 7.15.6 to 7.16.0 (#573) 9270ad7
  • Bump @rollup/plugin-node-resolve from 13.0.5 to 13.0.6 (#571) 85ab24e
  • Bump @typescript-eslint/parser from 4.32.0 to 4.33.0 (#570) 0e2b6cd
  • Bump jest from 27.2.4 to 27.3.1 (#569) 7581880
  • Improve demo react-live styles (#567) 7b73f08
  • Bump babel-jest from 27.1.0 to 27.2.4 (#554) cc1106f
  • Bump prettier from 2.3.2 to 2.4.1 (#557) eb089ae
  • Bump @babel/core from 7.15.0 to 7.15.5 (#563) c91373f
  • Bump eslint-plugin-react from 7.25.1 to 7.26.1 (#564) c401091
  • Bump rollup from 2.56.3 to 2.58.0 (#565) 9428f57
  • Bump @testing-library/react from 12.0.0 to 12.1.2 (#566) 7315f54
  • Bump ansi-regex from 5.0.0 to 5.0.1 (#562) 791aa54
  • Bump @typescript-eslint/eslint-plugin from 4.30.0 to 4.32.0 (#552) dd50c68
  • Bump @testing-library/react from 12.0.0 to 12.1.1 (#553) 6f4e011
  • Bump rollup from 2.56.3 to 2.57.0 (#555) aa10a5d
  • Bump typescript from 4.4.2 to 4.4.3 (#556) c2e6f72
  • Bump @rollup/plugin-node-resolve from 13.0.4 to 13.0.5 (#558) aa6988c
  • Bump @typescript-eslint/parser from 4.30.0 to 4.32.0 (#559) 5a3f7d3
  • Bump @babel/preset-env from 7.15.0 to 7.15.6 (#560) 47ad6bc
  • Bump jest from 27.1.0 to 27.2.4 (#561) 3dedc79
  • Bump tmpl from 1.0.4 to 1.0.5 (#550) 5d25430
  • Bump tmpl from 1.0.4 to 1.0.5 in /demo (#551) 61cdda3

https://github.com/glennreyes/react-countup/compare/v6.0.0...v6.1.0

v6.0.0

2 years ago
  • Update README.md 32ec5dd
  • Enforce Prettier + ESLint w/ Rules of Hooks (#528) 601014e
  • Hookify react-countup (#515) 8fbbaa6
  • Bump dependencies
  • Fix useCountUp unnecessary updates (#547) 26ed8ac
  • Add ability to set CountUp span props (#548) e51d82f

https://github.com/glennreyes/react-countup/compare/v6.0.0-2...v6.0.0

v6.0.0-2

2 years ago
  • Add ability to set CountUp span props (#548) e51d82f

https://github.com/glennreyes/react-countup/compare/v6.0.0-1...v6.0.0-2

v6.0.0-1

2 years ago
  • Fix useCountUp unnecessary updates (#547) 26ed8ac
  • Bump @testing-library/react-hooks from 7.0.1 to 7.0.2 (#546) 44fdffd
  • Bump @typescript-eslint/eslint-plugin from 4.29.3 to 4.30.0 (#545) dd62246
  • Bump eslint-plugin-prettier from 3.4.1 to 4.0.0 (#542) 97d467b
  • Bump @typescript-eslint/parser from 4.29.3 to 4.30.0 (#544) 557c79c
  • Bump eslint-plugin-react from 7.24.0 to 7.25.1 (#543) 5cebe50
  • Bump tar from 4.4.15 to 4.4.19 in /demo (#541) 9f60875
  • Bump babel-jest from 27.0.6 to 27.1.0 (#538) e14845c
  • Bump @babel/preset-typescript from 7.14.5 to 7.15.0 (#534) 18a5054
  • Bump @babel/core from 7.14.8 to 7.15.0 (#535) b26f6f3
  • Bump rollup from 2.55.1 to 2.56.3 (#537) b7d5a95
  • Bump jest from 27.0.6 to 27.1.0 (#539) ddcb52c
  • Bump eslint-plugin-prettier from 3.4.0 to 3.4.1 (#536) b24afbd
  • Bump @babel/preset-env from 7.14.8 to 7.15.0 (#533) 986c84d
  • Bump typescript from 4.3.5 to 4.4.2 (#532) 6047031
  • Bump @typescript-eslint/eslint-plugin from 4.29.1 to 4.29.3 (#531) b1788e5
  • Bump @typescript-eslint/parser from 4.29.1 to 4.29.3 (#530) 11409f5

https://github.com/glennreyes/react-countup/compare/v6.0.0-0...v6.0.0-1

v6.0.0-0

2 years ago
  • Enforce Prettier + ESLint w/ Rules of Hooks (#528) 601014e
  • Hookify react-countup (#515) 8fbbaa6
  • Bump url-parse from 1.5.1 to 1.5.3 in /demo (#527) b5df358
  • Bump path-parse from 1.0.6 to 1.0.7 in /demo (#526) 69bf361
  • Bump path-parse from 1.0.6 to 1.0.7 (#525) 4693a4d
  • Bump tar from 4.4.13 to 4.4.15 in /demo (#524) 15bcfd3
  • Bump rollup from 2.55.0 to 2.55.1 (#523) 0faa06b

https://github.com/glennreyes/react-countup/compare/v5.2.0...v6.0.0-0

v5.2.0

2 years ago
  • Remove warning (#521) 9023725
  • Bump countup (#520) 4cf5c0b
  • Update demo with last version (#518) 1bf67cd

https://github.com/glennreyes/react-countup/compare/v5.1.0...v5.2.0

v5.1.0

2 years ago
  • Some improvements (#517) 1ddf5d4
  • Rebuild for TypeScript (#514) 565d2c0

https://github.com/glennreyes/react-countup/compare/v5.0.0...v5.1.0

v5.0.0

2 years ago
  • Update index.d.ts 778188a
  • Update README.md 2d42cee
  • Bump y18n from 4.0.0 to 4.0.3 in /demo (#513) 7dcc024
  • Bump elliptic from 6.5.3 to 6.5.4 in /demo (#459) 1d9dfcb
  • Bump ini from 1.3.5 to 1.3.8 in /demo (#444) 74dd9af
  • Bump dot-prop from 4.2.0 to 4.2.1 in /demo (#420) 5e2f966
  • Bump ssri from 6.0.1 to 6.0.2 in /demo (#461) d12e225
  • Bump url-parse from 1.4.7 to 1.5.1 in /demo (#474) a83053f
  • Bump hosted-git-info from 2.8.5 to 2.8.9 in /demo (#476) 38397b1
  • Bump dns-packet from 1.3.1 to 1.3.4 in /demo (#477) 2d9ce79
  • Bump postcss from 7.0.18 to 7.0.36 in /demo (#512) dd6c8e5
  • Bump color-string from 1.5.3 to 1.5.5 in /demo (#494) 50015a7
  • Bump ws from 6.2.1 to 6.2.2 in /demo (#511) 6635f01
  • Update demo (#510) 88e7dc8

https://github.com/glennreyes/react-countup/compare/v5.0.0-0...v5.0.0

v5.0.0-0

2 years ago
  • Migrate to new countup version (#509) 944d721
  • Check props formattingFn (#508) deb2754
  • Bump rollup from 2.52.3 to 2.52.4 (#505) f38a59d
  • Bump @testing-library/react-hooks from 7.0.0 to 7.0.1 (#507) eb7cf50

BREAKING

New API for useCountUp:

You need to define ref - id of html element, input, svg text element, or DOM element reference where counting occurs

const Hook = () => {
      const span = React.useRef(null);
      useCountUp({ end: 10, ref: span });
      return <span ref={span} />;
};
const Hook = () => {
      useCountUp({ end: 10, ref: "counter" });
      return <span id="counter" />;
};

https://github.com/glennreyes/react-countup/compare/v4.4.0...v5.0.0-0