I'm trying to upgrade a micro service that's on Nodejs 1.0.x to Nodejs 4.x. The purpose is to enhance the functionality of this service & take advantage of ES6 features, especially avoid prototype clutter in new code segment. While going through few blogs, I've come across a statement that ES6's module pattern is standardised and it's Asynchronous unlike require().
If the module loading is Asynchronous(with import of module syntax), I'm trying to understand how the code in that file take advantage of this feature? All the code that have dependency on this asynchronously imported module will also become asynchronous? If yes, instead of combination of require (synchronous) and import/module (asynchronous), I would like to change every thing to import/module assuming the performance gain.
I need some help in correcting or fine-tuning my thought process.