You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to kill the service worker in Chrome task manager because it is stuck at 99.9 load in Preact example.
I was hoping preact/compat would solve such issues between library interop. I understand that Headless UI only officially supports react. Maybe there is some solution.
Edit: As an example the Listbox component worked well with Preact.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to use https://headlessui.com/react/radio-group#basic-example and was hoping that preact/compat would help, but I think it causes an infinite loop.
Preact: https://codesandbox.io/s/preact-headless-ui-radiogroup-2cl9rk?file=/src/index.js
React: https://codesandbox.io/s/react-headless-ui-radiogroup-tcdco9?file=/src/App.js
I had to kill the service worker in Chrome task manager because it is stuck at 99.9 load in Preact example.
I was hoping preact/compat would solve such issues between library interop. I understand that Headless UI only officially supports react. Maybe there is some solution.
Edit: As an example the Listbox component worked well with Preact.
Beta Was this translation helpful? Give feedback.
All reactions