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
Current the only way to get controller for a specific resource is useResource and useConstantResource, but their return values are tuples containing [value, controller].
In some cases, we only need resource controller to perform a expire or refresh of cache entry, such as to delete an item in a list from ListItem component.
We need useResourceController and useConstantResourceController hooks to satisfy these scenarios.
The text was updated successfully, but these errors were encountered:
Current the only way to get controller for a specific resource is
useResource
anduseConstantResource
, but their return values are tuples containing[value, controller]
.In some cases, we only need resource controller to perform a expire or refresh of cache entry, such as to delete an item in a list from
ListItem
component.We need
useResourceController
anduseConstantResourceController
hooks to satisfy these scenarios.The text was updated successfully, but these errors were encountered: