Issue with creating a package with valtio utils #695
Unanswered
italodeandra
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I think you are using two copies of valtio package. Maybe due to wrong monorepo setup? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this package with all my reusable front-end components.
I created this util for Valtio (for cookies + SSR hydration):
But if I import this function from the package on my project:
I get the error:
But if I copy the util to the project itself instead of importing from the package, it works.
Is there some kind of known problem doing that?
Beta Was this translation helpful? Give feedback.
All reactions