Update to React-Admin v3
See original GitHub issueReact-Admin planning to release v3 this summer. Right now they are finalizing the alpha and started to preparing the migration guide. Are there any plans to start migrating this package to work with v3? I did a quick check yesterday and there are some breaking changes that will be impacting this package.
https://github.com/marmelab/react-admin/releases
Next branch: https://github.com/marmelab/react-admin/blob/next/UPGRADE.md
TODOs
- Removed RA realtime as per https://github.com/marmelab/react-admin/pull/3908#issue-334448261
- Implemented authProvider as object instead of function
- authProvider.login method will now check for auth state change if no email and password is provided - enabling easy usage with third party Oauth firebase login flows (simply use useLogin without username and password OR specify ‘/’ as the redirect URL as the checkAuth method will take care of making sure the user is logged in when redirecting)
- Added example for usage with https://github.com/firebase/firebaseui-web-react resolves https://github.com/benwinding/react-admin-firebase/issues/34
- Make react, react-admin and react-dom peerDependencies
- Update demo project
Thanks to @simonberger (https://github.com/benwinding/react-admin-firebase/pull/67)
- Update docs
Beta Version
We are getting closer to the stable version of this package which supports react-admin
v3. Thanks to @simonbuerger he provided a pull request (https://github.com/benwinding/react-admin-firebase/pull/67) with the needed work.
To try the beta version of the package use the following to manually update the package in your project (for npm use npm install
):
- update
react-admin
to the lastest version npm install
/yarn add github:benwinding/react-admin-firebase#upgrade-to-react-admin-v3
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:9 (5 by maintainers)
Top GitHub Comments
Hi @RWOverdijk ,
Sorry about the delay but the upgrade is finished and merged into master https://github.com/benwinding/react-admin-firebase/pull/67 (which automatically closed this issue)
It’s deployed to npm under the major version
3.0.0
https://www.npmjs.com/package/react-admin-firebase/v/3.0.0Check it out and let me know if there’s any issues,
Cheers, Ben
Hey @benwinding, thanks for providing a new branch. Could you create a GitHub project for it, so we can keep track of the tasks needed to be done for v3.0 as a milestone?