Skip to content

fix(lucide-react): Fixes provider export and RSC render issues#4175

Merged
ericfennis merged 2 commits intonextfrom
fix-ssr-context
Mar 21, 2026
Merged

fix(lucide-react): Fixes provider export and RSC render issues#4175
ericfennis merged 2 commits intonextfrom
fix-ssr-context

Conversation

@ericfennis
Copy link
Copy Markdown
Member

Fixes #4172

Changes:

  • Fixes double building lucide-react build, causing the Provider not exported.
  • Added "use-client" directive to icons, to use the context provider. Context providers are not supported in RSC. Icons are still server-side rendered; "use-client" does not prevent this.

@github-actions github-actions Bot added the ⚛️ react package Lucide React Package label Mar 21, 2026
@ericfennis ericfennis changed the title Fix ssr context fix(lucide-react): Fixes provider export and RSC render issues Mar 21, 2026
@github-actions github-actions Bot added the ⚛️ preact package About the Preact Package label Mar 21, 2026
@ericfennis ericfennis merged commit 1f010a3 into next Mar 21, 2026
6 checks passed
@ericfennis ericfennis deleted the fix-ssr-context branch March 21, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚀 Lucide v1 ⚛️ preact package About the Preact Package ⚛️ react package Lucide React Package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant