How refinedev/refine works
Refine is a React meta-framework for CRUD-heavy applications. An application user works through resource pages and UI components; framework hooks coordinate queries and mutations through configured providers, while routing and authentication/access-control shape the experience. The monorepo also supplies UI-framework bindings, backend connectors, Devtools, and project-generation tools. The README documents the product capabilities and sample app wiring; source-index evidence supports selected internal relationships, but unsampled implementations and many package-to-package links are not asserted.
Main entry points: index.tsx Refine application · useUpdateMany.ts Data hooks · use-query-subscription.tsx Devtools · index.ts Material UI bindings
Components 21
Core framework
- Refine application
packages/core/src/contexts/refine/index.tsx - Data hooks
packages/core/src/hooks/data/useUpdateMany.ts - Data provider contract
packages/core/src/contexts/data/types.ts - Auth and access
packages/core/src/contexts/auth/index.tsx - Routing
packages/core/src/contexts/router/index.tsx - Internationalization
packages/core/src/contexts/i18n/index.tsx - Undo queue
packages/core/src/contexts/undoableQueue/index.tsx - Devtools
packages/devtools-internal/src/use-query-subscription.tsx
UI bindings
- Ant Design bindings
packages/antd/src/hooks/form/useForm.ts - Chakra UI bindings
packages/chakra-ui/src/components/index.ts - Material UI bindings
packages/mui/src/hooks/useDataGrid/index.ts
Providers and routing
- Simple REST provider
packages/simple-rest/src/provider.ts - GraphQL provider
packages/graphql/src/dataProvider/index.ts - Supabase provider
packages/supabase/src/dataProvider/index.ts - Appwrite provider
packages/appwrite/src/dataProvider.ts - React Router binding
packages/react-router/src/document-title-handler.tsx
Developer tooling
- Project CLI
packages/cli/src/cli.ts - Resource inferencer
packages/inferencer/src/create-inferencer/index.tsx - Devtools UI
packages/devtools-ui/src/components/monitor-highlight-handler.tsx
Other components
- Application user
- Resource pages
Connections 20
- Application user → Resource pages: uses
README.md - Resource pages → Ant Design bindings: renders
- Resource pages → Material UI bindings: renders
README.md - Material UI bindings → Data hooks: requests data
README.md - Refine application → Data hooks: configures hooks
- Data hooks → Data provider contract: uses contract
packages/core/src/hooks/data/useUpdateMany.ts - Refine application → Simple REST provider: configures provider
README.md - Refine application → React Router binding: configures routing
README.md - Refine application → Auth and access: supports auth
README.md - Refine application → Routing: supports routing
README.md - Refine application → Internationalization: supports i18n
README.md - Data hooks → Undo queue: supports undoable
packages/core/src/hooks/data/useUpdateMany.ts - Data hooks → Devtools: reports traces
packages/core/src/hooks/data/useUpdateMany.ts - Devtools → Devtools UI: feeds UI
- Refine application → GraphQL provider: accepts provider
- Refine application → Supabase provider: accepts provider
- Refine application → Appwrite provider: accepts provider
- Refine application → Chakra UI bindings: supports bindings
README.md - Project CLI → Application user: scaffolds projects
- Resource inferencer → Resource pages: generates resources