Replies: 2 comments
-
Hmm, I know this is related with "exports" in package.json, but not sure what is wrong. Meanwhile, does this work? import { proxy, subscribe, snapshot } from "valtio"; Or the same thing? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same issue unfortunately. I also tried this parameter suggested online, but without success: By the way, this is more of a "nice-to-have" and is not essential to solve by any means :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there
I am using valtio in a react app and love it! However, I am trying to use the VS Code "code runner" extension to run some vanilla experimental code, but get the error below, which makes no sense to me. The "package.json" is there as expected, and has exports properly defined as expected (it's the latest valtio version).
Here is the bit of my code that throws the error, and the output is below that:
Beta Was this translation helpful? Give feedback.
All reactions