Misleading "HTML-only" in component intro
thetillhoff opened this issue Β· comments
Till Hoffmann commented
π 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)
Astro components are the basic building blocks of any Astro project. They are HTML-only templating components with no client-side runtime.
A bit further down on the same page, "Component Script" is introduced:
---
// Component Script (JavaScript)
---
<!-- Component Template (HTML + JS Expressions) -->
So the "HTML-only" is misleading IMO.
π₯οΈ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response