Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Behavior of query.set / cache.set - SolidJS
S
SolidJS
โข
16mo ago
โข
1 reply
Jeremy
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
.set
function on
query
query
(previously named
cache
cache
) but can
't seem to get it to mutate any data
. Calling it seems to have no effect on
createAsync
createAsync
stores
.
A couple threads have asked about this but have not received answers
. Would anyone be able to shed light on the subject
?
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Change `query` cache lifetime
S
SolidJS / support
7mo ago
How to use `cache.set`?
S
SolidJS / support
2y ago
Can cache be manually set?
S
SolidJS / support
2y ago
How to use query.set (prev cache.set) to mutate async data for optimistic updates?
S
SolidJS / support
15mo ago