This is documentation for refine 3.xx.xx, which is no longer actively maintained.
For up-to-date documentation, see the latest version (4.xx.xx).
Version: 3.xx.xx
Inferencer
You can automatically generate views for your resources using @pankod/refine-inferencer. Inferencer exports AntdListInferencer, AntdShowInferencer, AntdEditInferencer, AntdCreateInferencer and AntdInferencer (which combines all in one place) components.
Ant Design components can be imported from @pankod/refine-inferencer/antd. You can directly use the components in resources prop of Refine component or you can use them in your custom components by passing the resource prop as the resource name.
Generates a sample list view for your resources according to the API response. It uses List and Table components with useTable hook from @pankod/refine-antd.
localhost:3000/samples
Live previews only work with the latest documentation.
Generates a sample show view for your resources according to the API response. It uses Show and field components from @pankod/refine-antd with useShow hook from @pankod/refine-core.
localhost:3000/samples/show/123
Live previews only work with the latest documentation.
Generates a sample create view for your resources according to the first record in list API response. It uses Create component and useForm hook from @pankod/refine-antd.
localhost:3000/samples/create
Live previews only work with the latest documentation.