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
TTCTheo's Typesafe Cult
Created by Helge on 5/31/2023 in #questions
Next13 app-router: How to get request headers on client page comp?
@hutajoullach going the api route might be an option I didn’t try yet
8 replies
TTCTheo's Typesafe Cult
Created by Helge on 5/31/2023 in #questions
Next13 app-router: How to get request headers on client page comp?
@hutajoullach thanks for the tip. Importing headers does not work as my page is a client comp and headers from next/headers is required in a server comp
8 replies
TTCTheo's Typesafe Cult
Created by Helge on 5/31/2023 in #questions
Next13 app-router: How to get request headers on client page comp?
how would you read it on the server?
8 replies
TTCTheo's Typesafe Cult
Created by Helge on 3/10/2023 in #questions
vercel next13 app-router: routing on prod is not clientside
2 replies
TTCTheo's Typesafe Cult
Created by Helge on 11/1/2022 in #questions
[next13] dynamic page or function
Doing a noop with headers() also works but man why
7 replies
TTCTheo's Typesafe Cult
Created by Helge on 11/1/2022 in #questions
[next13] dynamic page or function
I tried that but the page is not getting refetched upon navigation. I tried setting it to 0 and 1 but again the content only refreshes when I do a hard refresh
7 replies