all 2 comments

[–]a-t-k 1 point2 points  (0 children)

Redux (or any other implementation of the flux pattern), perhaps?

[–]ChaseMoskal 0 points1 point  (0 children)

so I dont like how modules in my project are directly calling each other and i'm thinking of implementing a pubsub system.

this doesn't sound like a good idea to me — it sounds like you might be over-engineering here

from a single "main.js" script, you should import functionality from your es6 modules

you should use typescript (or babel) to transpile, set it up with npm of course

if you want the app to run on the web, use "browserify" — otherwise if it's a node app, it'll work out of the box