Importing hooks connectors in NextJS throws an error #5059
Answered
by
Haroenv
felipepastor
asked this question in
General
-
Hi, Quick question: Did you have issues using the hook connectors in a NextJS application? I'm getting and error once I try to use it there. ES module is not compatible, and it should be since nextjs supports on version 12.
Sorry if it was already discussed, please, let me know if you need more information from my side. Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
Haroenv
Jun 8, 2022
Replies: 1 comment 2 replies
-
Not sure what causes that error for you. I tried reproducing in codesandbox, as well as running this example locally and it doesn't error https://codesandbox.io/s/festive-rosalind-t3i2jz?file=/pages/index.tsx |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
felipepastor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure what causes that error for you. I tried reproducing in codesandbox, as well as running this example locally and it doesn't error https://codesandbox.io/s/festive-rosalind-t3i2jz?file=/pages/index.tsx