DEV Community

Discussion on: Why it’s Time to Stop Using JavaScript IIFEs

Collapse
 
bernardbaker profile image
Bernard Baker

I can understand that you feel that IIFE should be phased out. But I remember years ago when using an IIFE gave portability of code and modular benefits. They still do today. Just not with the benefits of current language developments.

Rightly said that you feel people should stop using them. This is Dev.to. A place where ideas are the norm and conversation rule over judgement.

And the benefits of modules, blocks, patterns and dynamic imports are exciting.