bombillazo
Explore posts from serversRRefine
•Created by provincial-silver on 12/14/2023 in #ask-any-question
What are the differences between the `useNotification` and `useHandleNotification` hooks?
Id like to know more about each hook and what are their different uses and purposes.
4 replies
RRefine
•Created by probable-pink on 12/11/2023 in #ask-any-question
@refinedev/antd error
Hello, we've recently ran
npm i
to install packages in our dev env but we are getting the following error:
7 replies
RRefine
•Created by rising-crimson on 12/11/2023 in #ask-any-question
Migrating to React Query v5
Hello, is it safe to migration to React Query v5 using Refine? Our code is ok to go but Im not sure if it'll break Refine dependencies
11 replies
RRefine
•Created by unwilling-turquoise on 5/24/2023 in #ask-any-question
How to use `<AntdInferencer />` with Next.js
Hello, the examples provided in the docs for using the inferencer components is using some
<Routes>
,<Route>
components from react-router-dom
package, while we are using next.js.
What is the proper way to add Inferencer:
But for Next.js?5 replies
RRefine
•Created by equal-jade on 4/12/2023 in #ask-any-question
How can I invalidate the data returned by `getIdentity`?
I want to force refetch all data that comes from the
useGetIdentity
hook, how is this possible?6 replies
RRefine
•Created by afraid-scarlet on 4/11/2023 in #ask-any-question
React Query context issue with custom hooks
Hello, I am having a very weird issue with the React Query (now TanStack) Client with Refine. I am trying to leverage the same QueryClient set up by the Refine App context wrapper, so I can call my hooks similar to the
useCreate
and useList
hooks. However, my custom hooks cannot see the context created by the Refine App context wrapper. Whenever the pages render (I am using Next.js routing), the refine hooks work jsut fine but my custom hooks get the following error:
Is there something specific I must do to have access to the QueryClient provided by Refine? I dont want to have 2 ReactQuery clients in my app if I can help it. Thanks.11 replies
RRefine
•Created by variable-lime on 4/7/2023 in #ask-any-question
Typing the `custom` method in DataProvider
Hello, I am trying to type the response data from my
custom
method in the DataProvider, which uses the generic TData
to type the response. How do I define it when implementing my provider logic?8 replies
RRefine
•Created by equal-aqua on 4/7/2023 in #ask-any-question
Clearing up usage/purpose of `custom` method parameters.
Hey. For the
custom
method in a data provider, what is the difference between query, payload, and meta parameters? What are they used for or what are their main purpose?13 replies
RRefine
•Created by plain-purple on 3/28/2023 in #ask-any-question
How can I use `authProvider.getIdentity()` inside `getServerSideProps` with Next.sj.
Hello! I am using Supabase for auth and Next.js for routing. Is there any way to get the user auth data inside the Next.sj
getServerSideProps
function? I want to check some claims in my user/jwt in the SS props function but the function returns null. Im assuming it has to do with authProvider mostly working client side? Thanks in advance.13 replies