JavaScript

Import

Statement

Objectives

  • Import a component from another file

  • Export a component from a file

  • Use export default vs non default export

MDN Import