-
I use regular React in development mode and Preact in production by adding this to my
and found that the Radix primitives only work in development mode, in production, a timeout will occur in any page containing any Radix primitives. This has to be the issue because it works perfectly fine if I remove the above lines, so I'm just wondering if these primitives are incompatible with Preact, or perhaps it is just incompatible with the way I am using Preact. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 4 replies
-
We haven't done any testing with Preact I'm afraid. We only support React at the moment so I wouldn't know what the issue is here 😞 |
Beta Was this translation helpful? Give feedback.
-
Any news about this? Has there been found a way to use Radix primitives in Preact? |
Beta Was this translation helpful? Give feedback.
-
@vxncetxn @wenzf Major issues with Radix and Preact compatibility seem to have been fixed in Preact |
Beta Was this translation helpful? Give feedback.
-
I just tried the latest version of Preact + @radix-ui/react-hover-card, and clicking on <HoverCard.Trigger /> doesn't send you to the specified "href" unless you click rare edges of the trigger (usually top right corner works). |
Beta Was this translation helpful? Give feedback.
-
Same question |
Beta Was this translation helpful? Give feedback.
-
I haven't run into any issues so far with Preact
Additionally, the Hoping to see some Preact-oriented testing in the future - even if only ran on the side to produce a list of what works and what doesn't as a bit of a guide to people wanting to go down this route. I sure do, because the difference between |
Beta Was this translation helpful? Give feedback.
We haven't done any testing with Preact I'm afraid. We only support React at the moment so I wouldn't know what the issue is here 😞