Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to get previous value in createSignal's getter? - SolidJS
S
SolidJS
โข
4y ago
โข
5 replies
musiclover
How to get previous value in createSignal's getter?
I have a signal like this
.
const
[ get
, set
]
= createSignal
(0
)
I know I can get previous value in setter
.
But is there way to get previous value in get
?
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
how to not update previous value in array
S
SolidJS / support
3y ago
createSignal equals: false on mutable object value
S
SolidJS / support
14mo ago
how to use createAsync to feed createSignal
S
SolidJS / support
9mo ago