Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Why is this store still reactive? - SolidJS
S
SolidJS
โข
3y ago
โข
1 reply
Mathieu
Why is this store still reactive?
https://playground.solidjs.com/anonymous/5b3ceb29-ea8d-493d-a2fb-fd464b28ae2b
I create a store in a
createRoot
createRoot
block
. I call
dispose()
dispose()
right after creating the store
.
As seen in the demo
, the store is still reactive even though I called
dispose
dispose
. Anyone knows why the store didn
't lose reactivity even though it was created under a disposed root
? What did
dispose
dispose
do
?
(note that I don
't expect anything specific
, I
'm only trying to understand the behavior and mechanics
)
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
Why is this code not reactive?
S
SolidJS / support
14mo ago
Why is this store change doesn't trigger a reactive computation
S
SolidJS / support
12mo ago
Store not reactive
S
SolidJS / support
2y ago
Are store reactive?
S
SolidJS / support
2y ago