Dynamic Element Types

Learn about the flexibility of different element types and dynamic runtime creation from custom components.

We'll cover the following

Element type

An element type, the first input argument to createElement, can be a simple string representing an HTML tag, such as h1 and span. However, it can also take other formats, such as a function:

Get hands-on with 1200+ tech skills courses.