Skip to content

v2.0.0

Compare
Choose a tag to compare
@thedevelobear thedevelobear released this 25 Mar 20:58
· 10 commits to master since this release
a9aa935

v2.0.0 is here!

  • Rebuilt the library from scratch (new bundler configs, added TS)
  • The library now works with hooks
  • You can import confetti(), emoji() and balloons() functions directly if you can't/don't want to use hooks
  • Got rid of Lottie-Web and React-Pose dependencies (those looked cool, but made this package much bigger and unnecessarily complex)
  • Added new balloons animation
  • Worked on confetti animation to make it look more life-like

EDIT: This release introduced an issue with useReward hook not finding an element in asynchronous components (#83). It was fixed in v2.0.3 (https://github.com/thedevelobear/react-rewards/releases/tag/v2.0.3)

Full Changelog: v1.1.2...v2.0.0