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
When using a regular useMutation() within a list view, you can mutate different entities but you only get access to the loading state of the last one. It would be useful to allow a version that requires a key to compute the different properties in a Map and then each value becomes a function instead of a computed: data(key), isLoading(key) so we can check the progress
Problems:
How long should each data be preserved
Should there be a way to remove the data
Any difference between errors and successes?
The text was updated successfully, but these errors were encountered:
Yes, more or less. It should have a required key I think but it's indeed really nice to have it based on parameters when they are serializable. Maybe here the key should allow a plain value return instead of forcing an array. What is the purpose of clearKey()? I think having reset() is enough
When using a regular
useMutation()
within a list view, you can mutate different entities but you only get access to the loading state of the last one. It would be useful to allow a version that requires akey
to compute the different properties in a Map and then each value becomes a function instead of a computed:data(key)
,isLoading(key)
so we can check the progressProblems:
The text was updated successfully, but these errors were encountered: