-
Notifications
You must be signed in to change notification settings - Fork 762
Open
Labels
Description
Describe the feature that you would like added
Add use client directive to files with client-only features to support React Server Components.
Additional context
Here is the repo with FluentUI React v9 and Next.js, and every file that has FluentUI import requires 'use client' directive
Files that need to be updated:
packages/react-icons/src/contexts/IconDirectionContext.jspackages/react-icons/src/utils/bundleIcon.jspackages/react-icons/src/utils/createFluentIcon.jspackages/react-icons/src/utils/useIconState.jspackages/react-icons/src/utils/wrapIcon.js
Have you discussed this feature with our team
No response
Validations
- Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.
Priority
Medium