When you write your back-end applications in ES6 do you prefer use "import" standard ES6 or continue using "require()".
Syntactically, imoprt is much cleaner.
Backend require
Frontend import
For now thats the way it is, but who knows could change in the future.
Denny Trebbin
Lead Fullstack Developer. Experimenting with bleeding-edge tech. Irregularly DJ. Hobby drone pilot. Amateur photographer.
importbecause 'soon' Node.js does understand ES6importtoo. Currently, I use Babel to translate my ES6 Backend code to ES5 code. Bundling Node.js code is always good as we remember theleft-pad v0.3story.