Replies: 5 comments 5 replies
-
@Kyzegs Can you provide details of your setup and configuration? seems like |
Beta Was this translation helpful? Give feedback.
-
I have the same issue. Did you manage to resolve it @Kyzegs? |
Beta Was this translation helpful? Give feedback.
-
Yeah. It's easy to fix it. Just use esbuild or babel tranform react-dom to esm module. for vite, you shoule transform react-dom to esm module: vite.config.ts optimizeDeps: {
include: ['react-dom'],
}, for webpack, I think you shoule include react-dom into bable-loader? I donot good at using webpack |
Beta Was this translation helpful? Give feedback.
-
How should i fix this in Next JS? |
Beta Was this translation helpful? Give feedback.
-
@Eigilak I meet the same issues, Have you solved it? |
Beta Was this translation helpful? Give feedback.
-
Bug report
Current Behavior
Radix Primitives does not work because of ReactDOM.
Expected behavior
Radix Primitives would work as intended.
Reproducible example
I don't have reproducible example. Here's all the information I do have:
Suggested solution
n/a
Additional context
n/a
Your environment
Beta Was this translation helpful? Give feedback.
All reactions