Why you can't update props in React?

The React philosophy is that props should be immutable and top-down. This means that a parent can send any prop values to a child, but the child can't modify received props.


Author of content
Edit this page

Made by Michael Sakhniuk

Twitter