What is the difference between props and state?
Props and State
Audio flashcard · 0:12Nortren·
What is the difference between props and state?
0:12
Props are passed into a component from its parent and are read-only inside that component. State is owned and managed inside the component itself and can be updated with a state setter from useState or with this.setState in a class.