23 lines
508 B
Markdown
23 lines
508 B
Markdown
---
|
|
id: installation
|
|
title: Installation
|
|
ref: docs/framework/react/installation.md
|
|
replace: { 'react-query': 'preact-query', 'React': 'Preact' }
|
|
---
|
|
|
|
[//]: # 'Compatibility'
|
|
|
|
> Wanna give it a spin before you download? Try out the [simple](./examples/simple) example
|
|
|
|
[//]: # 'Compatibility'
|
|
[//]: # 'CDNExample'
|
|
|
|
```html
|
|
<script type="module">
|
|
import { render } from 'https://esm.sh/preact@10.23.1'
|
|
import { QueryClient } from 'https://esm.sh/@tanstack/preact-query'
|
|
</script>
|
|
```
|
|
|
|
[//]: # 'CDNExample'
|