#Astro renders html of framework components
1 messages · Page 1 of 1 (latest)
Yes.
-
By default (no
client:*):
A Solid component used in an Astro file is rendered to static HTML on the server. [Front-end frameworks] -
With most
client:*directives (client:load,client:idle,client:visible,client:media):
The component is still rendered to HTML on the server first, and then that HTML is hydrated in the browser according to the chosen directive. [Hydrating interactive components] -
Exception –
client:only:
client:onlyskips server-side HTML rendering and renders only on the client. [client:only]