npm react-toastify 6.0.0-rc.0
v6.0.0-rc.0

latest releases: 10.0.6, 10.0.5, 10.0.4...
4 years ago

Release notes

Hey, the v6 is finally out. You can find shiny new documentation here. If you are not able to see it, you must clear the service worker.

You can provide your feedback here

🚀 Features

  • possibility to limit the number of toast displayed #298
  • can define inline style on toast
  • HTML ids can be set for ToastContainer and Toast components
  • better close button icon
  • possibility to unsubscribe to onChange event #450
  • dark toast 💅
    darl-theme
  • expose hook to create your own ToastContainer (NOT DOCUMENTED YET)
  • expose hook to create your own Toast (NOT DOCUMENTED YET)

🕷Bug fixes

  • progress style from toast not being used
  • fix some tests

💥 Breaking changes

  • className only support string now.
  • 🔥 require react v16.8 due to the introduction of hook
  • calculate center position using transform instead of using margin-left = toast size /2

🧐 Internal

  • fully rewritten in typescript
  • switch from enzyme to react-testing-library
  • bundled by tsdx
  • new documentation!

Don't miss a new react-toastify release

NewReleases is sending notifications on new releases.