Skip to content

Align react-components Exports with Sub-package Exports #23345

@spmonahan

Description

@spmonahan

Problem

Because @fluentui/react-components does not always re-export all of the functionality of the sub-packages from which it is composed it can lack feature parity with its sub-packages.

For example, @fluentui/react-utilities provides a useMount() hook that is not re-exported from @fluentui/react-components meaning a user directly depending on react-utilities has access to more features than one depending on react-components.

Appetite

3~4 weeks. We should have a solution prior to the release of v9 stable at the end of June.

Solution

All features that are part of the public API of any of @fluentui/react-components' sub-packages should also be part of @fluentui/react-components' public API.

Risks (Rabbit holes)

Out of scope (No-gos)

  1. No breaking changes

Related

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions