Skip to content

Commit

Permalink
docs(astro): Qwik + Astro doc improvements (#5416)
Browse files Browse the repository at this point in the history
* Qwik astro doc improvements

* typo fix
  • Loading branch information
steve8708 authored Nov 10, 2023
1 parent eaf939f commit df012ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/docs/src/routes/docs/integrations/astro/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ The integration needs the following in `tsconfig.json` for typescript to recogni

```ts
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "@builder.io/qwik"
"jsx": "react-jsx",
"jsxImportSource": "@builder.io/qwik"
}
```

Expand Down Expand Up @@ -108,7 +108,7 @@ In other UI frameworks, a hydration directive would be needed for interactivity,

When using Qwik inside a meta framework like Astro or Qwik City, components are loaded on the server, prefetched in a separate thread, and "resumed" on the client.

For example here's how we create a counter component in Qwik.
For example here's how we create a counter component in Qwik (e.g. at `src/components/counter.tsx`).

```tsx
import { component$, useSignal } from "@builder.io/qwik";
Expand Down

0 comments on commit df012ea

Please sign in to comment.