use multiple Data providers with
use multiple Data providers with different domain routes. Then use dataProviderName on the hooks to select the one you want.
I use this often for switching from mock to proper api....
im getting ```ERROR in ./node_modules/@
im getting ```ERROR in ./node_modules/@refinedev/mui/dist/index.mjs 14:0-37
Module not found: Error: Can't resolve '@mui/material/Box' in 'xxxx/node_modules/@refinedev/mui/dist'
Did you mean 'index.js'?
BREAKING CHANGE: The request '@mui/material/Box' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"')....
I am not clear . What I am trying to do
I am not clear . What I am trying to do is use the template and link it to my own database . Preferably a headless cms
So if you want your team to go full
So if you want your team to go full refine for all new projects is it just best to go with Vite?
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 compatibleError - 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.