Behavior of query.set / cache.set

Hello, I am trying to preform some optimistic updates with the SolidStard data loading features. I've found the undocumented .set function on query (previously named cache) but can't seem to get it to mutate any data. Calling it seems to have no effect on createAsync stores. A couple threads have asked about this but have not received answers. Would anyone be able to shed light on the subject?
1 Reply
brenelz
brenelz2w ago
Where are you using .set? I think the place you should use it is the onComplete function of an action
Want results from more Discord servers?
Add your server