FrontendDeveloper.in

React question detail

Summary Table

FeatureStateProps
Managed byThe component itselfParent component
MutableYesNo (read-only)
ScopeLocal to the componentPassed from parent to child
UsageManage dynamic data and UI changesConfigure and customize component
UpdateUsing setState/useStateCannot be updated by the component

Back to all React questions
Get LinkedIn Premium at Rs 399