File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const CODE_DSD = `<page-home>
4747 </template>
4848</page-home>` ;
4949
50- const CODE_LIT = `// Lit island — app/islands/counter.ts
50+ const _CODE_LIT = `// Lit island — app/islands/counter.ts
5151import { LitElement, html } from 'lit';
5252export class MyCounter extends LitElement {
5353 @state() count = 0;
@@ -58,13 +58,13 @@ export class MyCounter extends LitElement {
5858 }
5959}` ;
6060
61- const CODE_REACT = `// React island — app/islands/hello.tsx
61+ const _CODE_REACT = `// React island — app/islands/hello.tsx
6262export default function Hello({ name }) {
6363 return <h1>Hello, {name}!</h1>;
6464}
6565// ReactDOMServer → DSD, zero-config SSR` ;
6666
67- const CODE_VANILLA = `// Vanilla island — app/islands/player.ts
67+ const _CODE_VANILLA = `// Vanilla island — app/islands/player.ts
6868import { WithDsdHydration } from '@lessjs/adapter-vanilla';
6969class MediaPlayer extends WithDsdHydration(HTMLElement) {
7070 connectedCallback() { /* upgrade logic */ }
You can’t perform that action at this time.
0 commit comments