Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to initialize a store from another store? - SolidJS
S
SolidJS
โข
3y ago
โข
8 replies
Mathieu
How to initialize a store from another store?
I
'd like to initialize a store
(say
store2
store2
) from another store
(say
store1
store1
)
.
However if I change
store2
store2
, I don
't want it to affect
store1
store1
.
In the example below
, I tried using
unwrap
unwrap
but that didn
't help
: when a value in
store2
store2
changes
, it affects
store1
store1
.
https://playground.solidjs.com/anonymous/b623bc24-5945-4676-a5cd-708584f6a2cc
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 clear a store?
S
SolidJS / support
3y ago
How to use `createResource` value to initialize another signal on the client?
S
SolidJS / support
2y ago
How to get snapshot value from store
S
SolidJS / support
2y ago
How to reset a deep store?
S
SolidJS / support
10mo ago