Mutated cached value
mutateCachedValue(() => ["user", props.id], (prev) => { return { ...prev, ...newUserData, }})
Will trigger the mutate function on all resources that has the same key
mutate
https://yonathan06.github.io/solid-cached-resource/modules.html#mutateCachedValue
reactive data function to toggle the request - key is derived for the value (parsed to string)
The new value for the given key. Can be any data, or a function that provides the previous cached data
Generated using TypeDoc
Mutated cached value
Will trigger the
mutate
function on all resources that has the same keyDescription
https://yonathan06.github.io/solid-cached-resource/modules.html#mutateCachedValue