Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Tagged Template Literals - Why is unwrapped props value reactive? - SolidJS
S
SolidJS
•
2y ago
•
36 replies
Pokadot
Tagged Template Literals - Why is unwrapped props value reactive?
The docs at
https://github.com/solidjs/solid/tree/main/packages/solid/html
indicate that reactive variables must be manually wrapped when using tagged template literals
, yet this basic example still works
,
https://playground.solidjs.com/anonymous/45f46e73-ac35-4455-a03b-f8501027fe23
Clarification
:
I am referring to line 25
. It is unwrapped yet is still reactive
.
I was just curious
, why is this
?
Expected behavior
: Label2 shouldn
't be reactive
.
Actual behavior
: Label2 is reactive
.
GitHub
solid/packages/solid/html at main · solidjs/solid
A declarative
, efficient
, and flexible JavaScript library for building user interfaces
.
- solidjs
/solid
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
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Are component props reactive?
S
SolidJS / support
2y ago
solid tagged template literala
S
SolidJS / support
3y ago
How to make props reactive?
S
SolidJS / support
8mo ago
The props are reactive, right?
S
SolidJS / support
2y ago