Skip to content

[Feature]: extend react-components suite exports #33046

@mainframev

Description

@mainframev

Area

React Components (@fluentui/react-components)

Describe the feature that you would like added

Some packages and APIs used in @fluentui-contrib are not currently exported from the @fluentui/react-components suite. If these were exported, it would eliminate the need to explicitly add certain dependencies.

For example, utilities like useControllableState, usePrevious, and types such as EventHandler and EventData are currently imported from @fluentui/react-utilities. These could instead be imported directly from the suite's peer dependency. There might be more things to be considered to add to suite exports.

Additional context

microsoft/fluentui-contrib#221 (comment)

Have you discussed this feature with our team

@microsoft/v-build

Validations

  • Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Priority

Low

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions