Attempted import error: 'experimental_useEffectEvent' is not exported from 'react' #63650
Unanswered
vegandiet705
asked this question in
Help
Replies: 2 comments 2 replies
-
Hi, This API is not even present in canary AFAIK. You have you use experimental as per docs: |
Beta Was this translation helpful? Give feedback.
0 replies
-
I haven't been able to import and use the useEffectEvent from react@experimental in my NextJS app either despite following said instructions.. It'd really simplify a lot of code if I could. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I got this error when running
next build
on my project. I'm trying to use the experimental React hookuseEffectEvent
. Anyone had success using this hook with Next.js ?Thanks in advance
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions