Redux Toolkit: state showing as Proxy / undefined within reducer

tasksData.sort (in your Tasks component) modifies the original tasksData array from the store, as sort does that. Make a new array out of it beforehand, e.g. by tasksData.concat().sort(...

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top