vit
vit copied to clipboard
Having an issue with a basic react app
Hello, I tried to reproduce the example at yunsii/vite-react
I end up with these errors and a blank page 😢

My _app.tsx, vite.config.ts and routes.ts are the exact same as shown in yunsii/vite-react
Thanks for your feedback. Please tell me which branch you use in yunsii/vite-react, and the versions of react and vitjs has changed?
Moreover, consider provide a reproduce repo?
The error casued by use-subscription the same major version of ^1.5.1, I fixed it by ~1.5.1 in https://github.com/vitjs/vit/pull/9 so upgrade vitjs/vit & vitjs/runtime to lastest version will fix the error.