You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the quickstart in a Vite project results in the following error:
> Please use proxy object
> Uncaught TypeError: Cannot read properties of undefined (reading '3')
at subscribe (vanilla.mjs:218:23)
at subscribeKey (utils.mjs:5:10)
at main.tsx:9:1
Thanks for posting this and especially the link. So it looks like we need to upgrade valtio. The upgrade to valtio 1.9.x has come breaking changes in 1.7.x so it might take a little bit of work.
I have been meaning to overhaul this library but I haven't got to it. The rewrite would be this - #7 (comment)
I'm looking for help to help upgrade as I'm a bit busy right now.
Running the quickstart in a Vite project results in the following error:
Reproduction:
https://codesandbox.io/p/sandbox/cool-cloud-3pe3u2
Full screen preview (to see the errors in the console logs):
https://3pe3u2-5173.preview.csb.app/
I noticed a similar potentially related issue in the main valtio repo here:
pmndrs/valtio#299
The text was updated successfully, but these errors were encountered: