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

0.378.0 introduced a hydration bug that can be seen when using nextjs or remix #2137

Open
5 of 30 tasks
roger-tbg opened this issue May 7, 2024 · 0 comments
Open
5 of 30 tasks
Labels
🐛 bug Something isn't working

Comments

@roger-tbg
Copy link

Package

  • lucide
  • lucide-angular
  • lucide-flutter
  • lucide-preact
  • lucide-react
  • lucide-react-native
  • lucide-solid
  • lucide-svelte
  • lucide-vue
  • lucide-vue-next
  • Figma plugin
  • source/main
  • other/not relevant

Version

0.378.0

Can you reproduce this in the latest version?

  • Yes
  • No

Browser

  • Chrome/Chromium
  • Firefox
  • Safari
  • Edge
  • iOS Safari
  • Opera
  • Other/not relevant

Operating system

  • Windows
  • Linux
  • macOS
  • ChromeOS
  • iOS
  • Android
  • Other/not relevant

Description

when updating from 0.372.0 to 0.378.0 i'm starting to see these in the console using ANY lucide icons that do not provide an extra className:

Steps to reproduce

Using nextjs or remix, just add any icon:

this will result in:
Warning: Prop className did not match. Server: "lucide lucide-line-chart " Client: "lucide lucide-line-chart"

(note the extra space)

downgrading to 0.372.0 made this go away.

Checklist

  • I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
@roger-tbg roger-tbg added the 🐛 bug Something isn't working label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant