[code-infra] Clean-up warnOnce duplication #615
Labels
core
Infrastructure work going on behind the scenes
performance
scope: code-infra
Specific to the code-infra product
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:
The text was updated successfully, but these errors were encountered: