What is “export default” in JavaScript?
It’s part of the ES6 module system, described here. There is a helpful example in that documentation, also: If a module defines a default export: // foo.js export default function() { console.log(“hello!”) } then you can import that default export by omitting the curly braces: import foo from “foo”; foo(); // hello! Update: As of … Read more