Update astro-components.md (#2164)

* Update astro-components.md

I don't get it, HTML entities are supported in JSX.

* Update astro-components.md

* Update astro-components.md

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
This commit is contained in:
Tegan Churchill 2021-12-13 10:35:21 -08:00 committed by GitHub
parent d9e65227b2
commit a4322d0ae3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -340,8 +340,8 @@ import TwitterTimeline from '../components/TwitterTimeline.astro';
| Fragments | Automatic top-level, `<>` inside functions | Wrap with `<Fragment>` or `<>` |
| Multiple frameworks per-file | Yes | No |
| Modifying `<head>` | Just use `<head>` | Per-framework (`<Head>`, `<svelte:head>`, etc) |
| Comment Style | `<!-- HTML -->` | `{/* JavaScript */}` |
| Special Characters | `&nbsp;` | `{'\xa0'}` or `{String.fromCharCode(160)}` |
| Comment Style | `<!-- HTML -->` | `{/* JavaScript */} |
| Special Characters | `&nbsp;` | `&nbsp;` |
| Attributes | `dash-case` | `camelCase` |
## URL resolution