https://github.com/marbemac/solid-query-ssr-bug
https://github.com/marbemac/solid-query-ssr-bug
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/marbemac/solid-query-ssr-bug
- Owner: marbemac
- Created: 2022-11-14T20:20:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-14T20:45:21.000Z (over 3 years ago)
- Last Synced: 2025-01-12T12:36:26.055Z (over 1 year ago)
- Language: TypeScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solid Query SSR Bug
This app leverages `vite-plugin-solid`, `solid-router`, and `renderToStringAsync` to do SSR.
It demonstrates how `solid-query` does not seem to work with suspense in SSR, while solid's own `createResource` does work.
To run it:
```bash
yarn
yarn dev
# open http://localhost:3016
```
Turn off javascript and note how http://localhost:3016/solid-resource works, but http://localhost:3016/solid-query does not (it seems to hang?).
These two routes can be found in `client/pages`.