fluentui
fluentui copied to clipboard
[Feature]: extend react-components suite exports
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
https://github.com/microsoft/fluentui-contrib/pull/221#discussion_r1790477510
Have you discussed this feature with our team
@microsoft/v-build
Validations
- [x] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.
Priority
Low