Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Idiomatic Props - SolidJS
S
SolidJS
โข
5mo ago
โข
1 reply
Lศฉge
Idiomatic Props
ATM I
'm passing a
Signal<T>
Signal<T>
to a component
, which of course boils down to
[() => T, (value: T) => void]
[() => T, (value: T) => void]
.
However I could also do it with
[T, (value: T) => void]
[T, (value: T) => void]
and use the reactivity provided by prop instead of relying on a Signal
.
The second case seems more idiomatic
?
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
Idiomatic Data Flow
S
SolidJS / support
5mo ago
idiomatic memo usage
S
SolidJS / support
3y ago
Props
S
SolidJS / support
4y ago
Accessing props
S
SolidJS / support
3y ago