Skip to content

[code-infra] Clean-up warnOnce duplication #615

Open
@oliviertassinari

Description

@oliviertassinari

Problem

The warnOnce logic is duplicated all over the place in the MUI codebase:

Context

I initially worked on this because of mui/mui-x#13911. This looks like a perfect helper for @base-ui/internals per https://www.notion.so/mui-org/engineering-mui-utils-purpose-9a9fc9da3a004864b6c4e1f4d1f24f95.

Search keywords:

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreInfrastructure work going on behind the scenesperformancescope: code-infraSpecific to the code-infra product

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions