Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Forward ref downstream - SolidJS
S
SolidJS
โข
3y ago
โข
7 replies
Deflaktor
Forward ref downstream
How can I forward a HTMLElement reference to a downstream component
? i
.e
:
<
div
ref
=
{theDiv}>
<
MyComponent
refToTheDiv
=
{theDiv}/>
</
div
>
<
div
ref
=
{theDiv}>
<
MyComponent
refToTheDiv
=
{theDiv}/>
</
div
>
so that I can use the div inside of MyComponent
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
Help with Forward Ref and Ref from solid-primatives
S
SolidJS / support
3y ago
Ref
S
SolidJS / support
4y ago
Forward props
S
SolidJS / support
4y ago
reactive ref
S
SolidJS / support
3mo ago