I'm converting a BackboneJS (v1.2.2) project to ES6 w/ BabelJS.
I noted that there's a difference between:
import Backbone from 'backbone'
and
import * as Backbone from 'backbone'
After reading here I understand that the former is importing the default export of Backbone where as the latter allows me to "import the whole module and refer to its named exports via property notation."
I'm struggling to understand the difference between these. Objects are returned in both instances, but the former appears to be decorated with additional properties/methods. At the very least I would presume importing "the whole module" would have more properties/methods... but I'm seeing the opposite.