Helge
Helge
Explore posts from servers
SSolidJS
Created by Helge on 1/28/2024 in #support
Use solid as middleware
oh is that so?
15 replies
SSolidJS
Created by Helge on 1/28/2024 in #support
Use solid as middleware
but that feels wrong to me, there must be a cleaner way ? template() is nice but only works on client as well so Ideally I would have a ssrTempalte(html-string) as root that would then handle all
15 replies
SSolidJS
Created by Helge on 1/28/2024 in #support
Use solid as middleware
with some branching of switch(node.dataset.component){}
15 replies
SSolidJS
Created by Helge on 1/28/2024 in #support
Use solid as middleware
the naive solution would be to do some jsdom transform and then children.forEach(child => <Dynamic as={child.tagName} />)
15 replies
SSolidJS
Created by Helge on 1/28/2024 in #support
Use solid as middleware
and how would you gobble the given html together ? I was initially thinking about a replace w/ jsdom transform, back to html and then pass it to the html``-tagged template but you cannot pass down a string like that from a var i think,.. atleast I didnt figure out how to
15 replies
SSolidJS
Created by Helge on 1/28/2024 in #support
Use solid as middleware
But can I leverage Solid Start for that @thetarnav ?
15 replies