Worth mentioning that in ES6, if you ‘export default’ the syntax for importing is: import…

Where-as, if you export const FunctionName = function, then the syntax for import is:
import { FunctionName } from ‘package/path’Continue reading on Medium »

Link: https://medium.com/@stuaylward/worth-mentioning-that-in-es6-if-you-export-default-the-syntax-for-importing-is-import-20dd6a40cd4?source=rss——javascript-5