Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(astro): Qwik + Astro doc improvements #5416

Merged
merged 2 commits into from
Nov 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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