I have a CodeSandbox which shows the issue I am running into with a complex web app I am working on:
Three components show the same array from the store
When I sort the array in one of the components, it affects the array in all components for some reason. This should not be possible because I believe the store cannot be updated unless we use set(). How can I avoid this? Someone accidentally sorted an array from the store and it affected the whole app