Skip to content

v2.0.0

Compare
Choose a tag to compare
@limonte limonte released this 05 Nov 17:49

🔴 Breaking change # 1 - sweetalert2@^9.0.0

PLEASE READ THE RELEASE NOTES: https://github.com/sweetalert2/sweetalert2/releases/tag/v9.0.0

Please make according changes in your package.json:

-  "sweetalert2": "^8.0.0",
-  "sweetalert2-react-content": "^1.0.0",
+  "sweetalert2": "^9.0.0",
+  "sweetalert2-react-content": "^2.0.0",

🔴 Breaking change # 2

The react element given as html is now mounted in a child element of the element it was mounted in before. Previously it was .swal2-content, now it's #swal2-content.