DEV Community

Discussion on: Javascript pattern that changed everything (for me...)

Collapse
 
kristijanfistrek profile image
KristijanFištrek • Edited

I absolutely love ES6 because of that, it blew me away!

However, I've had slight compatibility issues with certain ES6 features and I was forced to use Babel or some other tricks to make it work across all browsers and devices :/
Plus, I've seen couple of developers killing it with ES6, but they weren't aware what's going on behind something like an arrow function or even how local and global scoping acts according to certain definitions, so even though I think this is almost old school and slightly obsolete :D I do think it's cool to know how it was done before and what's going on under the hood, so to speak.

But you're completely right. IIFE is not necessary in ES6 ^

Collapse
 
hakuz profile image
Hakuz

Good Read..and what about writting the same article ...with ES6

Thread Thread
 
kristijanfistrek profile image
KristijanFištrek

Well, I guess I found my inspiration for the next post 😁 good idea!