Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to handle repeatedly updating a value in a large Store - SolidJS
S
SolidJS
โข
2y ago
Andre
How to handle repeatedly updating a value in a large Store
Here is an example
:
https://playground.solidjs.com/anonymous/75bea6b0-4eb0-41d0-8f62-6117c969801d
I feel like this is not the best approach for this case since searching the array for the ID each time the user types something would be inefficient if the store was large enough
.
Is there something recomended for this
? Maybe some way to pass store setters directly to a component
?
I know there
's a behavior where you can create a store directly from an item of another store
, and updates to that item reflect back on the original store
(
https://playground.solidjs.com/anonymous/1a8fba4f-76c8-4bd6-b8e9-ffaae1922e62
)
. Is this encouraged
?
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
Handle union type in store
S
SolidJS / support
3y ago
How to set a new value in a store of `Record<string, __>`?
S
SolidJS / support
2y ago
How to get snapshot value from store
S
SolidJS / support
2y ago