Course lesson

Render Text Only Components in React 16

In this session we create a comment component to explore how to create components that only render text.

Duration
1 min
Access
Pro
Transcript
Needs source

In this session we create a comment component to explore how to create components that only render text.

In previous versions of we had to wrap our text in needless <span> or <div>, we will see how React 16 removes the unneeded structure.