sweetalert2 / sweetalert2-react-content

Official SweetAlert2 enhancer adding support for React elements as content
MIT License
702 stars 48 forks source link

Support `Swal.update` static method, new in sweetalert2 v8 #73

Closed zenflow closed 3 years ago

zenflow commented 5 years ago

As of PR #72, this package now supports sweetalert2 v8, but does not support the new Swal.update static method introduced in v8.

Here is a good place to start, a branch I created when reviewing the PR for the new method: https://github.com/sweetalert2/sweetalert2-react-content/compare/feature/integrate-update-method

Since this will mean big changes to the codebase (almost rewriting the package) I think we should release this change in the next major, even though the change should be backwards-compatible.

limonte commented 3 years ago

:tada: This issue has been resolved in version 4.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: