I have lightning playground where I have an array and for each item in the array a simple component with a remove button displays. When you click the remove button the component should no longer display. I have
array = [1, 2, 3] and when clicking the button I get the error message
Error: Invalid mutation: Cannot set "0" on "1,2,3". "1,2,3" is read-only.
The playground is located here so you can see the code. Simply click one of the buttons which should then disappear however the error message displays instead.
container component contains the
app component which can contain many