[Solved] Can I update the state of a prop
[ad_1] You cannot and shouldn’t try to change the state or values of the props directly in the child component. For changing props you can pass the function as a prop and then emit the new value to that function. So the function will change your props into the parent component and it will further … Read more