Babel will take this and it will create li elements, its like calling React.createElement() for each li.
Here is an example of expressions in react:
What is babel?
- React uses camelCase property naming convention instead of HTML attribute names (HTML uses lowercase). For example, class becomes className in JSX
- You cant use if-else statements inside JSX, instead, use conditional (ternary) expressions