https://github.com/patrickjs/qwik-ssg-csr-only
Qwik SSG->CSR only. no SSR
https://github.com/patrickjs/qwik-ssg-csr-only
Last synced: 3 months ago
JSON representation
Qwik SSG->CSR only. no SSR
- Host: GitHub
- URL: https://github.com/patrickjs/qwik-ssg-csr-only
- Owner: PatrickJS
- Created: 2024-03-24T22:01:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-23T23:23:09.000Z (over 1 year ago)
- Last Synced: 2025-08-12T09:31:53.149Z (10 months ago)
- Language: TypeScript
- Size: 373 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Qwik SSG->CSR only. No SSR
example on how to do CSR only by using SSG->CSR with useResource and some of the qwik-city router features.
## What you lose from SSR
* server$
* you have to make your own fetch wrappers
* $routerLoader
* you have to useResource with useVisibleTask$ example to load on new route
* actions
* you need a server for this anyways so you must use signals. Modular Forms does have a way to use signals-only
## FAQ
* CORS
* add proxy in vite.config with changeOrigin to your api