valtio
valtio copied to clipboard
💊 Valtio makes proxy-state simple for React and Vanilla
Hello, working with valtio's-proxyWithHistory I stumbled over a case with unexpected behavior. It is quite hard to explain so I recreated the problem in codesandbox.io: https://codesandbox.io/s/valtio-proxywithhistory-undo-redo-l0360p
Resolves #512 This is a trial to fix the cjs import issue with converting the normal import to node cjs compatible import!
Full trace: ```TS Uncaught Error: object property already defined at utils.js:258:13 at Array.forEach () at derive (utils.js:256:15) at SealCredStore.tsx? [sm]:44:23 ``` So I am trying to initialize a store with...
When using the 'subscribe' function with the 'ProxyMap' object, the path parameter provided as part of the Op object to the callback leaks internal implementation details of ProxyMap. Specifically, the...
Hi there, I'm trying to use the macro for `vite` using the instructions from the README. I get this error when I run `yarn dev`: ``` yarn run v1.22.19 $...
I tried with different browsers, on incognito window. The redux devtool is blank when I try to open it. It seems it does so, when I try to select the...
just one byte?
Thank you
Hey, there should be a dedicated place to give kudos! Thank you for making Valtio, this is one of the libraries I'm enjoying working with the most. Keep up the...
If the declaration is in a `.d.ts` file instead then you get the following error: > Module '"valtio"' has no exported member 'proxy'.ts(2305) Here's a code sandbox that illustrates the...
https://codesandbox.io/s/breaking-watch-ct246n If you attempt to use async/await in watch it'll break the cleanup cycle. I added a quick test locally and fooled around with it and can avoid the issue...