Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navbar (and other components) stopped working in Svelte 5 #1331

Open
herskinduk opened this issue Apr 26, 2024 · 4 comments
Open

Navbar (and other components) stopped working in Svelte 5 #1331

herskinduk opened this issue Apr 26, 2024 · 4 comments

Comments

@herskinduk
Copy link

Describe the bug

sveltejs/svelte#10359

Using Navbar (and some other components) causes Svelte 5 (5.0.0-next.81+) to throw hydration errors making the site unusable.

Reproduction

Components that do this:

$$restProps.color = $$restProps.color ?? 'navbar';

Flowbite version and System Info

System:
    OS: macOS 13.6.6
    CPU: (8) x64 Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz
    Memory: 148.33 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/Library/pnpm/node
    npm: 10.5.2 - ~/Library/pnpm/npm
    pnpm: 8.15.6 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 124.0.6367.92
    Safari: 16.6
  npmPackages:
    @sveltejs/kit: ^2.5.7 => 2.5.7 
    flowbite-svelte: ^0.44.24 => 0.44.24 
    svelte: 5.0.0-next.82 => 5.0.0-next.82 
    vite: ^5.0.3 => 5.1.6
@jumtp
Copy link
Contributor

jumtp commented Apr 27, 2024

Svelte5 now is not stable

@shinokada
Copy link
Collaborator

For Svelte 5/Runes, please try https://svelte-5-ui-lib.codewithshin.com/

@herskinduk
Copy link
Author

Is this eventually going to be part of the flowbite family - or is it it's own thing?

@shinokada
Copy link
Collaborator

It is uncertain at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants