Exports/Imports

Learn how to write exports/imports cleanly and succinctly.

We'll cover the following

Usage of import and export

Writing full imports can sometimes be quite cumbersome, especially if we need to import many components in the same directory. Imagine we have a components/common directory, and there we have a few components such as DatePicker, Autocomplete, Editor, and Counter. If we need to import all of them somewhere, then it would look something like this:

Get hands-on with 1400+ tech skills courses.