Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
SOLVED: Non-Reactive Memo for Reactive Values? - SolidJS
S
SolidJS
•
2y ago
•
12 replies
halu
SOLVED: Non-Reactive Memo for Reactive Values?
I wish to perform a memoized calculation on demand rather than optimistically
.
Here we see createMemo running optimistically
:
https://playground.solidjs.com/anonymous/63165594-60fe-4ff2-966f-620574dd5761
Here i
've solved the problem by manually tracking the dirty state
and determining whether to recalc or just return at call time
:
https://playground.solidjs.com/anonymous/21a6530b-632c-46df-80d6-48ddd75ba665
I
'm fine with this solution
, but i just wanted to check that i
'm not missing anything obvious
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
filter reactive values by most recently updated
S
SolidJS / support
10mo ago
How to pass reactive values to `ref`?
S
SolidJS / support
3y ago
idiomatic memo usage
S
SolidJS / support
3y ago