Method Imports and Exports


#1

Since the release of Meteor 1.3, I’ve seen some confusion around ES6 modules, and how to best incorporate them into your Meteor development workflow. Especially when it comes to things like writing Meteor methods, publications, and templates which rely on global side effects.

I wrote up a post which hopefully clears up some of the confusions I’ve seen around importing and exporting things like methods from modules, and why I find modules to be an incredibly useful tool in my workflow.

Hopefully it helps some folks out there!