DevPath · Learn to code ESPTEN

Frontend with React

📋 Lists and conditional rendering

Render collections with .map() and the key prop, decide what to paint with conditionals, and group elements with fragments.

What you'll learn

Lessons

Render lists with .map() and keyTransform arrays into JSX. Conditional renderingPaint (or not) based on a condition. Fragments: group without an extra divReturn several elements without a wrapper.
Practice this module in the app

DevPath is a hands-on course: you read the theory here; in the app you put it into practice with exercises that really run, offline.

Start free in the app →