sweetalert2-react-content v2.0.0 Release Notes

Release Date: 2019-11-05 // over 4 years ago
  • 🍱 🔴 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.