React props are immutable. A component can only inherit them, but not modify them. If they do need to be modified, this can only happen by “asking” the parent component to do so. This can be done by using a callback or a hook.