Question: what is the difference between export default and export?
Answer: The difference between export and export default in ES6 You can import it in other files or modules by import + (constant | function | file | module) name so that it can be used. In a file or module, there can be more than one export and import, and only one export default. Export mode is used to export.