Remove the SweetAlert from global would allow me to work with more than one SweetAlert version in my project.
My case: I'm migrating an angular app to React. My angular app is using the angular-sweetalert pkg with a out-of-date sweetalert. If the SweetAlert had not exposed itself to global, I could keep working on in new features with a up-to-date version of the SweetAlert.
Remove the SweetAlert from global would allow me to work with more than one SweetAlert version in my project.
My case: I'm migrating an angular app to React. My angular app is using the angular-sweetalert pkg with a out-of-date sweetalert. If the SweetAlert had not exposed itself to global, I could keep working on in new features with a up-to-date version of the SweetAlert.
What are the trade-offs for this proposal?