You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say I have a page that has “tasks” listed in two separate sections, one section shows completed and another show incomplete. Each section has its own unique sorting and pagination for the tasks that can be manipulated independently.
How would this be handled in vuex orm? I have to run two api calls to the server so I can get the two sets of data using the appropriate sorting and pagination. If I shove both sets of data into vuex orm the custom sorting and pagination would be lost and even if I could make it work in vuex orm I’d be filtering and sorting data again after the server already did that.
Also say the user navigates off the tasks page, would I call a series of deletes on the orm to remove those or is there a better way to clean up after yourself? The very simplistic “todo” example apps are not real world at all. If you know of a project on GitHub that does these exact sorts of things I would love to see it. Thank you!
The text was updated successfully, but these errors were encountered:
Say I have a page that has “tasks” listed in two separate sections, one section shows completed and another show incomplete. Each section has its own unique sorting and pagination for the tasks that can be manipulated independently.
How would this be handled in vuex orm? I have to run two api calls to the server so I can get the two sets of data using the appropriate sorting and pagination. If I shove both sets of data into vuex orm the custom sorting and pagination would be lost and even if I could make it work in vuex orm I’d be filtering and sorting data again after the server already did that.
Also say the user navigates off the tasks page, would I call a series of deletes on the orm to remove those or is there a better way to clean up after yourself? The very simplistic “todo” example apps are not real world at all. If you know of a project on GitHub that does these exact sorts of things I would love to see it. Thank you!
The text was updated successfully, but these errors were encountered: