Core components for react-admin, a frontend framework for building admin applications on top of REST/GraphQL services using React. Version 5.14.7 is the latest stable release. It provides data providers, auth providers, routing, and hooks, shipping TypeScript types. Released irregularly alongside react-admin; peer dependencies include React 18/19, react-router 6 or 7, react-hook-form, and @tanstack/react-query. Differentiates by providing a declarative, resource-based approach to building admin UIs with built-in CRUD, authentication, and internationalization.
npm install ra-coreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of Admin, Resource, and the useGetList hook to fetch data from a posts resource.
Upgrade React to 18 or 19.
Upgrade react-router to v6 or v7.
Replace usages with react-query hooks like useGetList.
Replace useCheckAuth with useAuthenticated.
Update custom data providers to match new signature.
Ensure dataProvider is defined and passed to <Admin>.
Wrap component inside <Resource> or use <Admin> context properly.
Pass a valid dataProvider to <Admin> component.
Change import to: import { useGetList } from 'ra-core'.Ensure resource is only passed to react-admin components like Resource or hooks.