Drop withNoNewKeyword in coming major release
See original GitHub issueThe coming major release gives us the opportunity to drop this complexity and source of issue #1281 (so users can import uncompiled code from the src/
directory again).
This would mean a breaking change as users would need to change their usage from Swal({...options})
to new Swal({...options})
, or if nothing is done with the result, and the eslint no-new rule is in effect, Swal.fire({...options})
. I think for the sake of simplicity it might be best to only use the latter Swal.fire()
in documentation, tests, issue descriptions, etc.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
ES6: call class constructor without new keyword - Stack Overflow
Constructors requires the use of the new operator to create a new instance, as such invoking a class without the new operator results...
Read more >Omitting new keyword · Issue #350 · dotnet/csharplang - GitHub
No, I argue that the keyword serves an important purpose for the reader. But it does also serve to disambiguate for the compiler...
Read more >22 Possible Reasons Why Your Site Traffic Dropped
1. You're Tracking the Wrong Rankings. If your site has been online for many years, your keywords may not be relevant today. ·...
Read more >Edit keywords - Google Ads Help
Select the keyword you wish to edit. Click the Edit drop-down list and select what you want to edit. If you are running...
Read more >6 Types of Google Ranking Drops and How to Deal with Them
Important : Whenever your site's rankings start dropping, keep calm and start looking for causes and solutions. Surely it's a motive to panic, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry, I’ve been really busy with work and personal life, so I wouldn’t be able to handle this myself right away. Should be fairly simple though.
🎉 This has been shipped in version 8.0.0 🎉
The release is available on:
Your semantic-release bot 📦🚀