Refine

R

Refine

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

Join

ask-any-question

discussions

quickest-silver
quickest-silver6/7/2025

afterDelete hook not reading url query

I'm trying to pass an Id via query to an afterDelete lifecycle hook but is not working and always return undefined in strapi console log. I have tried with ctx.request.query but keep returning can not read query of type undefined. What is the method of reading queries in a lifecycle hook strapi v5
quickest-silver
quickest-silver6/7/2025

Strapi v4 dataProvider changes ignored by Refine

I'm encounter a strange behaviour when using refine with strapi-v4. Any changes made to @refinedev/strapi-v4/src/dataProvider.ts file is ignored by refine. Even if I comment the whole file out the app still working as it should. The dataprovider atribute in <Refine> components in App is pointing to this data provider but is not clear why the changes are ignored by the app. The provider is atribuited as below dataprovider = { DataProvider( API_URL + /api, axiosInstance)} And the DataProvider is imported from @redinedev/strapi-v4...
extended-salmon
extended-salmon6/3/2025

Does someone have a working example of using callback based oauth? (Google Auth without popup)

I'm lowkey confused as to how would the popup response send data to my backend and how do I validate it?
inland-turquoise
inland-turquoise6/2/2025

Passing authorization token to swizzled simple-rest data provider

How do I passing authorization bearer token to a swizzled simple-rest data provider
quickest-silver
quickest-silver5/29/2025

Pager changes filters unexpectedly

I have a button that setsfilters, but when I go to a new page the filters state is returned to the previous filters state Can someone help me figure out how to troubleshoot this?...
inland-turquoise
inland-turquoise5/28/2025

Does the simple-rest provider support passing query parameters through meta property?

the following code const { data, isLoading } = useList<EquipmentResDto>({ filters: [ { field: "serialNumber",...
xenogeneic-maroon
xenogeneic-maroon5/27/2025

useupdate without id

I want to incorporate the id in the resource path, or append an extra part of the url when using useupdate, how can I do that
xenogeneic-maroon
xenogeneic-maroon5/27/2025

axiosinstance global notification

Are there any examples of setting up global notifications when you use the axiosinstance directly
xenogeneic-maroon
xenogeneic-maroon5/27/2025

Send using meta

If I use go with getToPath and add a custom meta element, is that suppose to be shown in the URL?
eager-peach
eager-peach5/26/2025

Override Refine’s default notificationProvider banner with custom styles and messages

I'm using Refine with MUI and want to replace the default notification banners with custom components. Specifically, I’d like to apply my own styles and display tailored success and error messages. What’s the best way to override or extend the notificationProvider for this?
No description
inland-turquoise
inland-turquoise5/26/2025

Refine slows down react native expo app

I logged it and turns out there are 3-4 re-renders happening. I am using refinedev/core and refinedev/react-hook-forms
sensitive-blue
sensitive-blue5/25/2025

Which Material UI is supported?

I wanted to confirm which Material UI version is supported. Thanks!
rare-sapphire
rare-sapphire5/20/2025

How to change page title ?

Hey, i need help. I cant find way how to dynamicly change page title.
grumpy-cyan
grumpy-cyan5/20/2025

CreateButton catching error

My createButton automatically generated for my list works for creating new entries but does not detect errors when server requests fails. it opens a form to add input, then when we confirm the form the data is sent to the server, and wether it fails or succeed the success pop up is shown. how can i adjust this behaviour?
inland-turquoise
inland-turquoise5/17/2025

how to pass custom params to access control of show page

I am using antdesign and nextjs. I have a show page like this ```ts "use client"; import { Show } from "@refinedev/antd";...
inland-turquoise
inland-turquoise5/17/2025

how to pass custom params to access control of ShowButton

For example if I do like this ```ts <ShowButton recordItemId={id} hideText...
like-gold
like-gold5/16/2025

New Plan

Hi Can anyone explain what a credit is? Is it one prompt to AI ? Thanks...
like-gold
like-gold5/14/2025

Big Problem - Project not Visible in the Preview Pane

Hi Loving the AI . - so far. Problem is that the AI agent thinks i can see my project in the preview pane when nothing is visible. Also it thinks it has set up tables in Supabase but it hasn't. It's not showing any erros and also the agnet thinks it's solved the problem when it hasn't. Can anyone help?...
flat-fuchsia
flat-fuchsia5/14/2025

Issue with inferencer generated code

I'm getting this error "Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check the render method of Field2." for a page generated by inferencer However, when the auto-generated code is manually copied for debugging, the issue went away and everything works just fine Is there any known issue related to inferencer?...