Intro to JSX
LESSON 1
An introduction to JSX fundamentals.
Exercises
-
1. Why React?
-
2. Hello World
-
3. The Mystery, Revealed
-
4. What is JSX?
-
5. JSX Elements
-
6. JSX Elements And Their Surroundings
-
8. Nested JSX
-
10. Rendering JSX
-
11. ReactDOM.render() I
-
13. Passing a Variable to ReactDOM.render()
-
14. The Virtual DOM
-
15. JSX Recap
Advanced JSX
LESSON 2
Learn more about JSX!
Exercises
-
4. Curly Braces in JSX
-
10. JSX Conditionals: If Statements That Do Work
-
11. JSX Conditionals: The Ternary Operator
-
12. JSX Conditionals: &&
-
13. .map in JSX
-
14. Keys
-
16. JSX Recap
Your First React Component
LESSON 3
Learn how to create your first react component.
Exercises
-
1. Hello World, Part II... THE COMPONENT
-
2. Import React
-
3. Import ReactDOM
-
5. Name a Component Class
-
7. The Render Function
-
8. Create a Component Instance
-
9. Render A Component
Components and Advanced JSX
LESSON 4
Apply your knowledge of JSX to React components.
Exercises
Components Render Other Components
LESSON 5
Learn how and why components render other components.
Exercises
-
1. Components Interact
-
5. export
this.props
LESSON 6
Learn about one of the ways to store dynamic information in React: this.props.
Exercises
-
1. this.props
-
12. defaultProps
-
13. this.props React
this.state
LESSON 7
Learn about the other way to store dynamic information in React: this.state.
Exercises
-
1. State
-
4. Update state with this.setState
-
7. Components Interacting Recap
Stateless Components From Stateful Components
LESSON 8
Learn to pass props from a stateful component to a stateless component
Exercises
-
1. Stateless Components Inherit From Stateful Components
-
2. Build a Stateful Component Class
-
5. Don't Update props
Child Components Update Their Parents' state
LESSON 9
Learn how to make a child component update its parent.
Exercises
Style
LESSON 10
Learn simple styling in React.
Exercises
-
1. Advanced React Techniques
-
4. Style Name Syntax
-
5. Style Value Syntax