Create a custom hook like useMany or useOne without sending ids
I have this
```
const { data } = useMany<any, HttpError>({
ids: [],
resource: RESOURCES.WEB_FORM_LOCATIONS,...
i want to get one more field with useSelect
const {options, queryResult} = useSelect({
resource,
optionValue: useFilter ? "country_code" as any : idField as any,
optionLabel: "name",...
how to manipulate data for stepForm ant d
how to manipulate data for stepForm ant d before calling api
Trouble Integrating NextUI with Next.js App Routing Mode: Need Help!
I've downgraded next to 14.0.4, and it's working now
Bearer token with all routing
How can I get a bearer token authorization header (whose value comes from a cookie) to be inserted into the request of any and every page navigation?
Query distinct data in useDataGrid
I have a table with many entries identified by a reference and with a timestamp field. I want to generate a DataGrid that shows only the latest distinct rows. How can I configure the hook to perform this request?
refine as a subroute in nextjs app
I have an existing NextJS app with NextAuth. How can i add retool to only a sub route of /admin?
useSelect pagination next page load trigger
When using useSelect with pagination, how do I change pages?
antd-img-crop
As the Ant Design documentation in the "Upload" component suggests, I imported the "antd-img-crop" library and wrapped the Upload component with it (on a form.item) to handle avatar uploads, so that all of them are squares. The problem is that <ImgCrop> seems to not passing the result to the form.item parent that handle the form data, so that it is never submitted.
How i should do to use <ImgCrop> correctly to make it work?...
Create & edit a many to many relationship with supabase
Hi, I'm new to Refine and I'm looking for a more elegant way to manage many-to-many relationships with Supabase as my data provider. I've looked at the useMany() example in the documentation, but it seems to focus on one-to-many relationships.
My tables are structured as follows: contacts <-> contact_has_address <-> address
Currently, I'm using multiple useCreate and useCreateMany hooks to create these relationships, but it feels a bit clunky. For example, I first create the address, then I create the contact_has_address record to link both tables. However, editing this setup is proving to be challenging....
Host an app
I want to host my app via github pages, what should I add to my code and which commands should I run? My project uses Vite and MUI
I want to work with local variables
Hi there,
I have an implementation with NextJS and AntDesign using Refine but in some cases I don't see data because data is coming from api-fake-refine-dev api. But in this case data is not coming to api. I am writing code for poc and api is not ready for this case. But I want to see variables. Can you give advice for this reason?...
Inferencer: Nested Strapi Components
How can I get nested components from a Strapi API resource to automatically display using the inferencer in the list and show pages?
CLI add resource for nextjs template issue?
I created a project today using the latest refine-nextjs template and the following choices:
data-provider-custom-json-rest
antd
auth-provider-google...
Where can I find the demo backend for the app crm example
Can you also find the corresponding backend somewhere as an example for the app crm example repo https://github.com/refinedev/refine/tree/master/examples/app-crm
Is it possible to update one of the records in a Table?
One of the actions in my table consists of making an API call and changing the status of a record from
active to inactive. I want to update the record in the table to reflect the action performed. How can I do this? Here's a snippet of my current code:
```tsx
export default function StoresList() {
const { tableProps, } = useTable<StoreList>({...