react-admin-date-inputs icon indicating copy to clipboard operation
react-admin-date-inputs copied to clipboard

migration to material-ui-pickers 2.x

Open vascofg opened this issue 7 years ago • 2 comments

Won't be able to merge this until react-admin updates to @material-ui/core 3.2.0 or above, because of this: https://github.com/dmtrKovalenko/material-ui-pickers/commit/8b35d655fdde44d34be17a0afb8176bd6a870122

This is the module that must be updated: https://github.com/marmelab/react-admin/blob/master/packages/ra-ui-materialui/package.json

vascofg avatar Jan 21 '19 19:01 vascofg

Hi there!

React Admin didn't planned to upgrade to Material UI v3 few month ago because of the the MUI team is quick to develop major versions (which include breaking changes), and our team can't follow them. So, we waited for a more stable version to upgrade: see https://github.com/marmelab/react-admin/issues/2399

As of now, the MUI team already considered a v4 with breaking changes including the styling system, React 16.8 and using the hook API. https://github.com/mui-org/material-ui/issues/13663

Upgrading Material UI on React Admin means a breaking change for RA. The version 2 of React Admin doesn't have one year, so it's unlikely we plan a migration for Material UI v3.

If you want to support React Admin v2, your library will have to get the Materiual UI v1.x version as a peer dependency.

Let me know if I can help you! I already planned to add this answer on the FAQ.

Kmaschta avatar Jan 22 '19 08:01 Kmaschta

@Kmaschta added peer-dependency on latest version

vascofg avatar Jan 27 '19 09:01 vascofg