Data coming from userContext.useQuery(ToDoList.Lists)
may be used on serveral pages/components in my react app, so I am considering how to manage this kind of data using a state management tool like redux, but I am not able to dispatch a thunk function when the data is changed, I can not figure out a way to update the data in Redux. Is there a way to solve this? Or is there way to cache and mutate the data similar to react query?