I’m going to be showing my naivete with this one (I’m relatively new to web development and never had a formal CS background), but I can’t wrap my head around why everyone is so excited about ES2015 modules. I see that it is one of the main features of Meteor 1.3 and pretty much everything new these days has them.
But what is better about ES2015 modules? From a beginner’s perspective, I always hated dealing with RequireJS and never really came around to understanding it. One of the biggest draws to Meteor for me was that you didn’t have to think about any of that - you didn’t have to orchestrate what knows about what. You just wrote your code and it worked. Also, code is so much more readable and cleaner without a large part of the file being taken up by imports and wrapping all of your code for the file in another nest of brackets. I am sort of dreading having to use ES2015 modules for my project, and having to keep track of where everything is that I need in a file.
So what am I missing - what is the draw? Maybe I just don’t understand how Meteor’s magic works, but I love that magic and I will miss the simplicity it provided.