Props Are Read-Only
Multiple Choice Easy
Question
Can a component modify its own props?
Hint
Props flow down from the parent. Think 'function parameters'.
Explanation
Props are read-only. A component must never modify its own props. If data needs to change, the parent should pass new props or the component should use state. This is React's rule of pure components.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.