Closed jordyalcides closed 1 month ago
Can you publish a reproduction?
How did you resolve your #1729
issue btw.?
Can you publish a reproduction?
I could reproduce it on stackblitz using this run command:
pnpm create @batijs/app --react --tailwindcss --hono --cloudflare --prettier
than pnpm add @tanstack/react-query vike-react-query
than change the pages/+config.ts
to include vike-react-query plugin on extends prop
export default {
Head,
title: 'My Vike App',
extends: [vikeReact, vikeReactQuery],
passToClient: ['routeParams'],
} satisfies Config
Make sure to set the stream
setting to web
.
Closing in favor of https://github.com/batijs/bati/discussions/303.
Description
Describe the bug
Starting a new project using vike-react-query throws an error after the first page request
To Reproduce
Steps to reproduce the behavior, run the following commands in order:
pnpm create @batijs/app --react --tailwindcss --hono --cloudflare --prettier
than
pnpm add @tanstack/react-query vike-react-query
than change the
pages/+config.ts
to include vike-react-query plugin on extends propsetup everything as the docs mention
Expected behavior
Run dev mode without any errors
Screenshots![Screenshot 2024-07-09 at 17 52 40](https://github.com/vikejs/vike-react/assets/9451041/485e0825-460c-46e3-be5f-aa46e6dfd5d0)
Additional context Using macOS Ventura 13.6.6 and the following related libs: