Refine

R

Refine

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

Join
flat-fuchsia
flat-fuchsia5/12/2024

Usage with messy backend

Hi guys, How would I use Refine with a bit more messy backend? Its written in Nestjs, but the endpoints are a bit messy. Does not follow the expected methods....
flat-fuchsia
flat-fuchsia5/11/2024

How do I combine multi-tenancy URI approach and accessProvider in Refine?

I have followed multi-tenancy guide, adding the tenantId into the route path. This works fine I am able to retrieve tenantId within my components. I am though unable to restrict my routes based on tenantId. When my custom accessProvider gets called it is not supplied with full route including tenantId and I cannot check if the user has access to a particular tenant route. P.S.:When the sider component calls my accessProvider - everything as expected the route is part of params.resource object....
other-emerald
other-emerald5/11/2024

process undefined when accessing env variables

when trying to access an environment variable setup in .env from login.tsx I get the following error process undefined...
other-emerald
other-emerald5/11/2024

Update your Google Client ID here

in the example auth for google there is a todo // Todo: Update your Google Client ID here how can I put my google client id in a .env file and access it from login.tsx...
rising-crimson
rising-crimson5/11/2024

Table filtering where data column is an array of strings.

I have a form that allows users to select multiple values to be used as tags. The column is called industry and is set as a text[] datatype in Supabase. Data entry for the user works as expected and displays correctly. I'm having an issue when attempting to apply a filter. ```tsx...
other-emerald
other-emerald5/10/2024

firebase auth

do you have an example of using firebase authentication with refine
exotic-emerald
exotic-emerald5/10/2024

useState

I want to set state of the ID when I click the save button on a successful create
sunny-green
sunny-green5/9/2024

How to change data provider in pre existing template to strapi?

https://refine.dev/templates/react-admin-panel/ Data Provider: REST to Strapi Auth Provider: JWT to Google OAuth...
sunny-green
sunny-green5/9/2024

onPageChange updated one

onPageChange was used on previous version for pagination change what is the new method for handling pagination change in useDataGrid
deep-jade
deep-jade5/9/2024

refine repo

Hello: when installing the “examples/app-crm”, the repo automatically installs Antd. How can I install it with Mui instead? Thanks
correct-apricot
correct-apricot5/8/2024

two List in the same component

i using the useList, but i need use again in the same component how can i do it?
ugly-tan
ugly-tan5/8/2024

Change the background color of the ThemedSiderV2 component

Hey yall, been trying to change the background color for quite some time now. Is there a way to change the background color without creating a custom sider component and if so how? Or is it better to create a custom sider component.
fascinating-indigo
fascinating-indigo5/8/2024

Running app-crm on the local

Hi, I'm going to run app-crm on my local using this command. npm create refine-app@latest -- --example app-crm Once I created an app-crm on my local and when I run npm run dev and went to localhost:5173, I got the blank screen and the app is not working. How can I fix this issue?...
plain-purple
plain-purple5/8/2024

[JavaScript Mastery tutorial] Can't fetch any generated data

Hey, I'm following JSM tutorial video on YouTube https://www.youtube.com/watch?v=6a3Dz8gwjdg&t=5587s&ab_channel=JavaScriptMastery, and I'm trying to get data but nothing is showing up (see img) link to my repo: https://github.com/osherasfa/bumpy-rockets-begin ...
No description
fair-rose
fair-rose5/8/2024

Query supabase in next server api

Hello, im quite a newbe for both Supabase, Refine and Next.js I have this simple file called api/messages.ts the file looks like: ```...
genetic-orange
genetic-orange5/7/2024

building starter app yields many errors

like these ```ts src/App.tsx:1:10 - error TS2305: Module '"@refinedev/core"' has no exported member 'Authenticated'. 1 import { Authenticated, GitHubBanner, Refine } from "@refinedev/core";...
genetic-orange
genetic-orange5/7/2024

is the design nearly the same between UIs?

should i use mantine or ant ? will ant add value to the design ? bc i know it is slow ? or you provide everything with mantine like ant ?...
stormy-gold
stormy-gold5/7/2024

Access data provider in child component

How can i access data provider in a child component? I want to get the api base url in my component
rising-crimson
rising-crimson5/5/2024

Hello! New Front/Backend dev here

Hello there I've taken interest on refine etc and I want to learn it I know it's based on React Js but what's the Min Requirements to start learning refine itself? Sorry if I sound dumb...
exotic-emerald
exotic-emerald5/5/2024

axios error

Im getting error on axios instance after update refine. Im using Strapi 4 Type 'AxiosInstance' is missing the following properties from type 'AxiosInstance': postForm, putForm, patchFormts(2345)...