Refine

R

Refine

Join the community to ask questions about Refine and get answers from other members.

Join

ask-any-question

general

How do I useManyLists?

I call my list endpoint with 2 query params, let's call them refTable and refID. I need to call the /getObjects for each entry of the following array. const inputArray = [ { refTable: "Pokemone", refID: "id1" }, { refTable: "Animals", refID: "id2" },...

How to create move page Button?

When the button is clicked app/brands/products/[id] You need to go to the location. ``` ...

kubernets

Can anyone tell me where to find the k8s template ('DevOps Dashboard') from your home page?

this[#client].defaultMutationOptions is not a function

Currently in the project we use react query v5, but I understand refine is using v4. And when I try to use
useDataGrid
useDataGrid
i have this[#client].defaultMutationOptions is not a function. Is it even possible to use separate versions ? Otherwise seems like I can't use refine with MUI

I am facing this error

i am trying to load events: const { data, isLoading: eventsLoading, error } = useList({ resource: "events", meta: { headers: accessToken...

Dashboard log-in not working

I am trying to create a dashboard where i got inspiration from the following github: https://github.com/refinedev/refine/tree/master/examples/app-crm-minimal. Though when creating a log-in/register page i seem to not be able to see it when launching the live server. Instead i get the default ' Welcome Aboard! Your configuration is completed.'. How do i fix this? This is my App.tsx...

Dashboard log-in not working

I am trying to create a dashboard where i got inspiration from the following github: https://github.com/refinedev/refine/tree/master/examples/app-crm-minimal. Though when creating a log-in/register page i seem to not be able to see it when launching the live server. Instead i get the default ' Welcome Aboard! Your configuration is completed.'. How do i fix this?...

DASHBOARD_DEALS_CHART_QUERY not working

I'm working on a React application using the Refine framework along with GraphQL. I'm trying to insert mock data into a component using the useList hook. The mock data should be fetched from a GraphQL resource (dealStages) that I learned about in a recent YouTube tutorial. However, I'm encountering an issue where the data variable remains undefined, and I'm unable to retrieve any data. Below is the relevant part of my code: import { DASHBOARD_DEALS_CHART_QUERY } from '@/graphql/queries';...

There are any examples or guides on how to implement Clerk Auth Provider?

I'm trying to create a refine app with Clerk auth provider an supabase as data provider

defer useList load

Hi, I'm using a code like this one const [p, setP] = useState({})...

Weird edit() behaviour

Hi all, I'm experiencing a weird behaviour if I set an EDIT path for a resource, as soon as I go to that path the system is automatically trying to load the resource as [my_api]/resource/ID...

show() - edit() route customization

Hi, Is it possible to customize how the show and edit commands work? I need to use two different routes for the same resource based on a custom logic...

How to pass params into auth provider getIdentity using useGetIdentity?

How to pass params into auth provider getIdentity using useGetIdentity?

how to use multiple auth provider

How to use multiple auth provider? The case is I have a multiple login page inside the main auth systems

How to get success or failure notification after onsubmit?

``` export default function NatureClassCreate() { const currentPath = usePathname(); const firstSegment = currentPath.split('/')[1];...

Access axios instance used to create data provider

Is there a way to access the axios instance that I used in the creation of my data provider elsewhere in the code? I need to manually submit an axios request, and I want access to the interceptors I setup when creating the dataProvider that's registered to <Refine>.

What's the recommended way to handle API requests that aren't closely-couped with a resource?

For example, I have an API request that enqueues an async job that updates multiple entities.

Next.js & Ant Design - Custom ThemedLayoutV2 not working

Hi, I tried to swizzle the ThemedLayout as I need to edit the Sider. But if I follow the documentation: src/app/layout.tsx ``` ... <Refine ...>...
No description

How to setFilters with custom parameters with Antd useTable?

I am using Antd useTable hook. How can I use setFilters? ``` const { tableProps, tableQuery: { refetch }, filters, setFilters } = useTable<Accounting>({...
Next