Skip to content

Commit

Permalink
feat(bundle): add "use client" directive to entrypoints (#4128)
Browse files Browse the repository at this point in the history
* feat(bundle): add "use client" directive to entrypoints

* chore(bundle): add custom plugin to support client directives

* chore: add changeset

---------

Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
  • Loading branch information
joshblack and joshblack authored Jan 18, 2024
1 parent 099e915 commit 359213b
Show file tree
Hide file tree
Showing 8 changed files with 151 additions and 1,189 deletions.
5 changes: 5 additions & 0 deletions .changeset/violet-rockets-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': minor
---

Add "use client" to package entrypoints to support React Server Components
Loading

0 comments on commit 359213b

Please sign in to comment.