Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Increment counter every time component is used? - SolidJS
S
SolidJS
โข
3y ago
โข
14 replies
Delvis
Increment counter every time component is used?
Currently I use context to to have signals for this counters but is is possible to get this without context or imported signal
?
<Thing
/
>
<Thing
/
>
<Thing
/
>
First one would have 1 and last one 3 and so on
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
Hydration Mismatch Error Every Time I Update a Component
S
SolidJS / support
2y ago
Array of components gets re-render every time that a new component is added
S
SolidJS / support
3y ago