You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! We use this phrase so that it's clear that your Astro component creates a template that builds to plain HTML. What is special about Astro is that you can use JS expressions in order to build that template, but these expressions are evaluated at build time only, and then the Astro component renders to static HTML. We have found this description helps people avoid the confusion that they should be expecting interactivity or reactivity in their site.
📚 Subject area/topic
Components
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/basics/astro-components/
📋 Description of content that is out-of-date or incorrect
Right at the start it says (emphasis mine)
A bit further down on the same page, "Component Script" is introduced:
So the "HTML-only" is misleading IMO.
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
The text was updated successfully, but these errors were encountered: