question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Drop withNoNewKeyword in coming major release

See original GitHub issue

The 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
zenflowcommented, Jan 8, 2019

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.

0reactions
limontecommented, Jan 19, 2019

🎉 This has been shipped in version 8.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found