0 votes
in ReactJS by

Why you can't update props in React?

1 Answer

0 votes
by

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.

Related questions

0 votes
asked Apr 15, 2022 in ReactJS by Robindeniel
0 votes
asked Mar 1, 2020 in ReactJS by RShastri
...