Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deprecated resource definitions #331

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

dklimpel
Copy link
Contributor

@dklimpel dklimpel commented Feb 3, 2023

==> https://marmelab.com/react-admin/Upgrade.html#useselector-wont-return-anything

Part of migration to React Admin 4

"React-admin no longer uses Redux for resource definitions. Instead, it uses a custom context. If you used the useResourceDefinition hook, this change is backwards compatible. "

Comment on lines -27 to -33
<MenuItemLink
to="/custom-route"
primaryText="Miscellaneous"
leftIcon={<LabelIcon />}
onClick={onMenuClick}
sidebarIsOpen={open}
/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be never used and c&p issue.

=> https://marmelab.com/react-admin/doc/3.19/Admin.html#menu

@dklimpel dklimpel mentioned this pull request Feb 4, 2023
@awesome-manuel awesome-manuel merged commit d8d393c into Awesome-Technologies:master Feb 2, 2024
1 check passed
@dklimpel dklimpel deleted the resources branch February 2, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants