State & Props
1. Understanding Through Examples
State
Props
2. Characteristics of Props
Component Properties
Values Received from Parent Component
Object Form
Read-Only
3. How to Use Props
Define Values and Properties to Pass to Child Components
Pass Defined Values and Properties Using Props
Render Received Props
Props Children
4. State Hook, useState
How to Use useState and How It Works
useState Pseudocode
useState Syntax Example
JSX Ternary Operator Usage Example
5. Updating State
6. Points to Note
7. Event Handling
onChange
onClick
Last updated