1
I use mobx, and now also Hooks, to manage application status (if using Redux would face the same problem), and couldn’t find a better way to manage paginated listings.
If I have a list in the global state and several components use it, if one component needs to increment the page to show more results, it will cause another component to be updated (it cannot happen), and if you want to extract data from the list (like total items, for example), to show in multiple components (and be updated accordingly) I cannot, because the listing is partial.
My solution was to use rxjs and manage the status of the listings in the component itself (I know this is not good practice), and create services pras Apis, in them I created a Subject (rxjs) and for each service action (save, update, ...) I send an action. In my components I register to listen to the actions and update the state of the components (I did more or less when using Angular).
If you have any article or video recommendations that give a light.