Skip to content

Commit

Permalink
Merge pull request #444 from seneca/patch-35
Browse files Browse the repository at this point in the history
Update islands.md
  • Loading branch information
nobkd authored Jan 18, 2025
2 parents 1962fcb + 69f52e6 commit 5939203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nuejs.org/docs/islands.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Islands can render on both server and client, ensuring proper SEO while providin

Web Components offer a lightweight, standards-based alternative to islands for simple interactivity. They enhance static HTML with JavaScript but do not re-render based on internal state.

Here's a real example - the Zen Mode toggle:
Here's a real example the Zen Mode toggle:

```html
<div class="zen-toggle">
Expand Down Expand Up @@ -138,4 +138,4 @@ Islands have access to:
- Page-specific data from front matter
- Dynamic state managed through the template syntax

This layered approach maintains clean separation between content, presentation, and interactive functionality while enabling sophisticated features when needed.
This layered approach maintains clean separation between content, presentation, and interactive functionality while enabling sophisticated features when needed.

0 comments on commit 5939203

Please sign in to comment.