Refine

R

Refine

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

Join

ask-any-question

discussions

stormy-gold
stormy-gold6/8/2024

mutate causes redraw

Mutate causes redraw before it resolves `` const pushConfirmed = (value): void => { const mutationMode: any = "pessimistic"; mutate({ resource: api/push/${props.collection}`,...
equal-aqua
equal-aqua6/7/2024

ReferenceError , require not defined

In local environment , my project works fine when I tried by hosting via Amplify it was working until when I used aws apollo client and graphql dependencies , now it is giving ReferenceError , require not defined error when deployed from Amplify , how to handle this ?
ambitious-aqua
ambitious-aqua6/7/2024

Example Projects

Should I create a project and install refine before installing examples?
When I install example projects should I install inside my current project or keep any example installs in directories outside of my project?...
foreign-sapphire
foreign-sapphire6/7/2024

Stuck in login page

Hi, i have a problem where i am stuck on the login page of my app even though its already login success, it just redirects me to dashboard then back to login again. here is the source code https://github.com/Jefri-C/PBO_Refine
vicious-gold
vicious-gold6/7/2024

Invalid-session-token

Jsut started the install to Refine. Chose data-provider-nestjs-query, antd, no example pages, and npm intall, auth provider custom I got invalid session token trying to login via github/gooogle on a Windows machine.
generous-apricot
generous-apricot6/6/2024

Strapi v4 with with SSO

How can I setup Strapi v4 with provider to use SSO like Google and Facebook on refine sign up screens ?
quickest-silver
quickest-silver6/6/2024

I just set up devtools on my local project here but when I open them it sends me to login but then

it redirects because its trying to sign in via github to devtools and it just redirects, I guess its not accessing as its all local
stormy-gold
stormy-gold6/6/2024

@refinedev/mui always throws an error during tests

When I'm writing tests with vitest and react testing library, as soon as I wrap a component with the refine provider it starts throwing this error. Does anyone know how to fix this? ``` Error: Directory import '/home/dev/software/services/marketplace/nodemodules/.pnpm/@refinedev+mui@5.15.1@emotion+react@11.11.4@emotion+styled@11.11.5@mui+lab@5.0.0-alpha.170_ap3fpruar6oljtcbusiih2zudm/node_modules/@mui/material/Box' is not supported resolving ES modules imported from /home/dev/software/services/marketplace/nodemodules/.pnpm/@refinedev+mui@5.15.1@emotion+react@11.11.4@emotion+styled@11.11.5@mui+lab@5.0.0-alpha.170_ap3fpruar6oljtcbusiih2zudm/node_modules/@refinedev/mui/dist/index.mjs Did you mean to import "@mui/material/node/Box/index.js"?...
No description
adverse-sapphire
adverse-sapphire6/5/2024

Display media on upload

I have the below code and I would like to display the refreshed data (including the new upload) when the image is uploaded. Can this be done with a refine.dev hook or should I use a set state? const {data} = useList<IMedia>({ resource: "media", });...
adverse-sapphire
adverse-sapphire6/4/2024

change the typography font of refine next app

I need to change the typography text in my app but i m not sure that i should to change it in theme using antdesign
passive-yellow
passive-yellow6/4/2024

refine | Build your React-based CRUD applications, without constraints

what file is this in if I hard code it out "refine | Build your React-based CRUD applications, without constraints."
passive-yellow
passive-yellow6/4/2024

Remove document title

How to remove the default document title "Refine build your React-based..." i have a custom document title that takes a second to load from db call and you see a flash of that default text...
wise-white
wise-white6/4/2024

Airtable API token

The documentation says "@refinedev/airtable uses API Tokens to authenticate requests. Personal access tokens of Airtable is currently not supported.". However in my Airtable account it is said that API tokens are not supported anymore since february 2024 and I cannot create one. Is it still possible to use this data provider ?
adverse-sapphire
adverse-sapphire6/4/2024

Bearer token for keycloak

Hi, am a little lost with the documentation as there doesn't seem to be much information on how the login works for the keycloak abstraction. This was what my project was generated with: ``` const authProvider: AuthProvider = { login: async () => { signIn('keycloak', {...
dependent-tan
dependent-tan6/4/2024

how to use socket io as live provider

can i use socket io as live provider with expressjs
passive-yellow
passive-yellow6/3/2024

Cell render being constantly updated in useTable columns

cell: ({ getValue }) => { console.log('Cell render called'); return statusLabels[getValue()] || "Unknown"; },...
conscious-sapphire
conscious-sapphire6/3/2024

how can i customize the theming of the refinekbar?

how can i customize the theming of the refinekbar?
like-gold
like-gold6/3/2024

how to send form data to a custom url

how do is send my formdata to a custom url