Chapter 30: React, Part 2
Learning Objectives
Upon completing the content in this chapter, you should be able to do the following:
- Incorporate JavaScript expressions into HTML rendering.
- Use conditional rendering to display or not display certain elements.
- Use the following syntax:
if/else- Embedded expressions with logical operators such as
&& - Ternary conditional operator
? :
- Create a list to display the elements in an array using the
mapmethod.
Key Terminology
- Arrow Functions
Fragmentsif/else- Ternary operator
map