0👍
✅
The prop should not be updated directly, you need to create a local variable that takes your initial status, therefore your mutations should be on the local variable, I wrote this example hopefully it helps
Source:stackexchange.com
0👍
The prop should not be updated directly, you need to create a local variable that takes your initial status, therefore your mutations should be on the local variable, I wrote this example hopefully it helps