Render Text Only Components in React 16

Nik Graf
InstructorNik Graf

Share this video with your friends

Send Tweet

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.

Raja Sekar Durairaj
Raja Sekar Durairaj
~ 4 years ago

Actually keeping extra span will always trigger a fight between React and UI Developer. Hope this feature will helps me a lot

Raunaq Sahni
Raunaq Sahni
~ 2 years ago

For some reason, I'm having trouble playing this particular video on the web and after download; tried multiple browsers as well as media softwares.