You can’t update props in react js because props are read-only. Moreover, you can not modify props received from parent to child.