svelte5-bug-bits-ui Svelte Themes

Svelte5 Bug Bits Ui

Svelte@5.0.0-next.121 bits-ui bug

This repo was created to show a bug that start happening migrating from [email protected] to [email protected] while using shadcn-svelte (bits-ui).

Repro steps

  1. install dependencies:
    npm i
    
  2. run the dev server:
    npm run dev
    
  3. open http://localhost:5173
  4. see the page working. Try to click on "OPEN" and see the dropdown menu

Now, to see the error:

  1. stop the server
  2. go to package.json, bump svelte to 5.0.0-next.121
  3. run npm install again
  4. run the dev server again (npm run dev)
  5. open http://localhost:5173
  6. refresh the page, it'll be blank

Top categories

Loading Svelte Themes