Replies: 1 comment 1 reply
-
SSR is achieved with a different compilation that doesn't use template. It compiles to combining strings no DOM. We also generate different client code for hydration. Generally we recommend libraries ship the source under a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey :)
i wanted to create components without using jsx syntax for building component libraries. i would like to ship the dist folder without jsx when possible. but i wasn't able to find out how to access the
template
function on the server side unfortunately (import { template } from "solid-js/web"
resolves toundefined
). on the browser side its woking fine tho. i understand that there is no native dom available on the server, but is solid-start using the jsdom implementation or how is ssr achieved?Beta Was this translation helpful? Give feedback.
All reactions