© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Return non DOM element as component with hyper dom expressions - SolidJS
S
SolidJS
•
2y ago
•
4 replies
FjordWarden
Return non DOM element as component with hyper dom expressions
I
'd like to create a declarative api that uses components that are not part of the DOM tree
. Sort of like this Canvas API
:
function Example(props) {
return h(Canvas,
h(Bezier,{points:[]}
)
}
function Example(props) {
return h(Canvas,
h(Bezier,{points:[]}
)
}
I
'm just not sure how to implement to Bezier so it can also receive events
.
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,260
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Use non breaking space with hyper dom expressions
S
SolidJS / support
3y ago
Custom renderer with hyper dom expressions
S
SolidJS / support
2y ago
No Context when using hyper dom expressions
S
SolidJS / support
2y ago
solid-router | return Navigate as component
S
SolidJS / support
3y ago