Skip to content

Glossary: React Beyond the Basics

import type

Also written: type-only import

A way to import something that exists only as a type. The react-ts template requires it because types vanish when the code runs.

Where the book teaches it

Related terms

react-ts template