Open siriwatknp opened 6 months ago
@siriwatknp is it for material ui maybe nice to support eslint rules which gives a warning when having something which will break in a next major? For example React Query has an own plugin where you can set the options like "@tanstack/query/no-deprecated-options": "error",
. It creates a far nicer DX since most of the libs i will not check weekly for all updates paths or RFC's.
@siriwatknp Hi, I'm having trouble determining which "system props" are being deprecated. Could you help me with this?
Based on the packages/mui-codemod/src/v6.0.0/system-props/removeSystemProps.js
file, can I conclude that all the props listed in defaultSxConfig
should no longer be used as component props but instead with the sx
prop?
@maapteh Right, I'm reopening, I see that we have one of the checkboxes unticked:
can I conclude that all the props listed in defaultSxConfig should no longer be used as component props but instead with the sx prop?
@Darksoulsong I believe this was the intent, yes.
@siriwatknp Hi, I'm having trouble determining which "system props" are being deprecated. Could you help me with this?
Based on the
packages/mui-codemod/src/v6.0.0/system-props/removeSystemProps.js
file, can I conclude that all the props listed indefaultSxConfig
should no longer be used as component props but instead with thesx
prop?
That's correct.
The RFC https://github.com/mui/material-ui/issues/41539
Search keywords: