react-admin
react-admin copied to clipboard
Remove deprecated props
Problem
Some props are deprecated
Solution
Remove them
TODO
Remove:
- [x]
disableNotificationfromuseCheckAuth - [x]
disableNotificationfromuseLogoutIfAccessDenied - [x] ~
resourcefromuseDeleteWithConfirmController~ - [x] ~
resourcefromuseDeleteWithUndoController~ - [x]
datafromCreateControllerResult - [x]
referenceSourcefromuseReferenceInputController - [ ]
savingfromSaveContextValue? :thinking: - [ ]
useGetValidationErrorMessage? :thinking:- [ ]
<ArrayInput>has to be adapted
- [ ]
- [x] ~
useLocale~ - [x] ~
useSetLocale~ - [x]
linkToRecord - [x]
resolveRedirectTo - [x]
onErrortype from ra-core type.ts - [x]
formClassNamefromFieldProps - [ ]
fullWidthfromFieldProps- [ ] many occurences
- [x]
PublicFieldPropsfromFieldProps - [x]
InjectedFieldPropsfromFieldProps - [x]
formClassNamefromCommonInputProps - [ ]
sidebarIsOpenfromDashboardMenuItem- [ ] check the impact in ra-no-code before
- [ ]
sidebarIsOpenfromMenuItemLink- [ ] check the impact in ra-no-code before
- [ ]
rowStylefromDatagrid - [x]
PaginationLimit - [x]
rowStylefromSimpleList - [x]
themefromThemeProvider
I think we can de-deprecate and keep in v5 the following hooks
-
useLocale -
useSetLocale