React JS Tutorial - #6 - Lists & Conditionals

Publicado em: 13 Outubro 2023
no canal de: Austin Davis
1,776
58

Welcome back to the React Beginner series!

In this tutorial we'll cover how to conditional render in React, as well as how to render lists in React. These two concepts are both utility concepts that will broaden your ability to create great web pages.

List rendering allows us to take something like an array, and loop over it to 'map' each piece of that array to some JSX code. This can be raw JSX, components, or any other form of JSX code.

Conditional rendering allows us to display certain JSX based on a condition. For example, if something is true, display X. If something is false, display Y. Conditionals can be rendered in-line or in component functions using actual if statements.

If you found this tutorial helpful, please consider liking and subscribing because it helps me out tremendously! Thanks for the support!

Timestamps:
0:00 - Rendering Lists
6:00 - Lists w/ Props
12:47 - Object lists
20:25 - Conditional Rendering
30:51 - Conditional Operator (&&)
33:27 - Conditional Components

Hashtags:
#reactjs #programming #reacttutorial


Nesta página do site você pode assistir ao vídeo on-line React JS Tutorial - #6 - Lists & Conditionals duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Austin Davis 13 Outubro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,776 vezes e gostou 58 espectadores. Boa visualização!