Refine

R

Refine

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

Join

ask-any-question

general

Actually, i think i found out why.

Actually, i think i found out why. useTable from import { useTable } from "@refinedev/react-table"; is not SSR compatible

Error - Pastebin.com

I have been trying to fix this for 6 hours https://pastebin.com/HJfEwNjZ Can't figure it out. i get this error ...

Has anyone had success integrating

Has anyone had success integrating Refine with Next.js (v14) and Chakra UI? I'm currently stuck on this.

i have a refine + nextjs + shadcn

i have a refine + nextjs + shadcn project, very basic as it's new. I added a new resource and basically copied the resource from Blog posts which seems to work fine, but as soon as i add my own useTable replacing the blogposts useTable, i get an error saying useTable is not a function..

[FEAT] Codegen with OpenAPI · Issue #562...

Hey, interested in this one as well https://github.com/refinedev/refine/issues/5623 if there was someway to consume the service method signatures. @Batu mentioned some ideas on the ticket in the road map? Maybe there is some clever way thought up by the refine team.

hey guys, i need a help for creating

hey guys, i need a help for creating dockerfile with nginx configuration for refinedev nestjs. is anyone did this before? im struck in nginx conf when i use normal dockerfile with yarn start it works fine

are we supposed to have the database

are we supposed to have the database structure already made with our relations and tables? or how does this integrate with a backend or data provider such as supabase or pocketbase? how does refine know where to create the table, how to create relations. etc..

I just have a question why the vite

I just have a question why the vite template doesn't include i18n when using the CLI?

Hello. My name is Mateo. Handle is

Hello. My name is Mateo. Handle is Flutterbots. I was introduced to Refine.dev and cannot believe it. Nice work! We're currently using Angular but I'm a React developer. I'm a technical lead at my company and I am working on a POC to see if Refine will work as the architecture for our product. I'm following the example on the website for the authentication piece but I'm getting this error: "Warning: validateDOMNesting(...): <form> cannot appear as a descendant of <form>." Looking for help to ge...

Hi, I'm stuck while trying to re create

Hi, I'm stuck while trying to re create the backend for the CRM example (really don't understand wjhy the team is reluctant to make it public). Could someone help me out with it, please?

hi guys, any official Example repos

hi guys, any official Example repos involving the following stack with refine? Ant Design + Supabase + Next.js?

Another question - one that seems like

Another question - one that seems like it should be way simpler. I'm trying to create a component that will send a custom query up to my backend server every time the user performs a search on an ant design <Search> field. But I'm running into an error currently of "Invalid hook call. Hooks can only be called inside the body of a function". Code is below: ```import { useCustom, useOne } from "@refinedev/core" import { Col, Input, Row } from "antd" import { API_BASE_URL } from "../../providers";...

Hello, I originally asked this question

Hello, I originally asked this question to kapa, which suggested I reach out to the wider community: I want to create a dynamic list of resources available to the user at login time by fetching a list of their permissions from a backend server. Is there a way to add resources to the IResourceItem list provided to the <Refine> tag after its instantiation? Or to not provide a resources property to <Refine> initially and then set it later? The goal is to dynamically construct the menu options for a <ThemedLayoutV2> component as well as setup the associated routes based on user permissions with a call to my data provider....

Hi! Can somebody help with one thing

Hi! Can somebody help with one thing that I couldn't resolve with kapa? In my app I have an accessControlProvider, and it works fine with all the resources and actions. The problem is with the routes that are not asociated with a resource or with an action that is not in the default list, for example I have created a custom route, that has nothing to do with any resource, and when I access to this route, my can function is executed with undefined resource and empty action. How can I to avoid to run the can function in this case? or how can I receive the correct action or resource? right now I edited my can function to return {can: true} if the action is not in ["list", "create", "edit", "show", "delete"] but I think that is not the best behavior. Thanks!...

Hey, how do you run cypress tests in

Hey, how do you run cypress tests in refine/examples? When I try to run cypress in any example, I get same error as in issue https://github.com/cypress-io/cypress/issues/8599. I managed to solve it by: 1. exporting refine/cypress/support/e2e.ts 2. creating fixCypress.ts in refine/examples/specific-example and importing mentioned export...

Hello! I'm trying to be a good Refine

Hello! I'm trying to be a good Refine citizen and go through the proper channels. I had a refine-specific question and asked in the ask-any-question channel, but the bot was unable to resolve my issue. Is there a respectable way to try and escalate a question to a real person? I see the questions channel was archived.

Button click not working

Hello All, I have a form that suddenly doesn' t work I have been upgrading the project to 4 and am pretty sure it was working after a upgrade for a while. Clicking the button doesn't do anything at all.
```jsx return (...

Hey, Im new to web development, im

Hey, Im new to web development, im trying to connect refine app crm with mongo db? Is it possible?

Hi all, I’m hoping someone can help me

Hi all, I’m hoping someone can help me wrap my head around issues with API keys and environment variables in refine. Is it possible to avoid using environment variables that aren’t exposed to the browser (I.e., NEXTPUBLIC). Sorry I looked all around but couldn’t find an answer on how to secure my Airtable provider keys in refine😓

I am able to do this with **useEffect

I am able to do this with useEffect, but every hot reload breaks the state. Not sure why. A solution is to abuse the successNotification callback and call setData there. Am I overlooking a simpler and better way to do this?...