how to use antd notification for custom apis in page
how to use antd notification for custom apis in page
Snackbar's customization
Hello!
I would like to completely change the UI for snackbars, but keep all their current logic. Do you have any example of how to do this?
I use Refine + MUI...
useExport only items showing on the list.
Basically I want to export only the items the user can see on the list.
Make a list of cards instead of table
I want to know if it's possible to make a list page with a list of cards instead of a table with ant design
Mash multiple fields into one with Antd tables
I have a table with And and currently I fetch data like this:
const { tableProps } = useTable<UserListItem>() I want to join the cells for first and lastname into one, howdo I do that? ...
const { tableProps } = useTable<UserListItem>() I want to join the cells for first and lastname into one, howdo I do that? ...
How do I deal with nested resources?
I have a resource for users, and I want to be able to add and remove tags from said users;
how do I use the useCreate and useDelete hooks for those?...
useTable totals from backend
I return the totals from my backend, like for example: { data: [{...},{...},{...},{...},{...}] total: 5 }
but I can't make it work with antd useTable, unless I parse
const { result, tableProps } = useTable<MyType>({
with something like
correctlyTypedResult = result as unknown as MyType...
How can I remap the default Pagination and Sorting query params?
Now, by default they come as
_start
_limit
_sort
_order...
Global refetch
Hi! I’m using Refine with a dataProvider that can change dynamically. I want all my resource lists to automatically refetch whenever the dataProvider changes.
@mui/material/Grid2 error when upgrading to v5
I'm getting this error after updating everything:
```
✘ [ERROR] Could not resolve "@mui/material/Grid2"
...
Cursor Pagination with useInfiniteList in Refine: Still Not Working - Need Help!
I've been stuck on this for days now, and I'm at my wit's end. I'm trying to implement
infinite scrolling in a chat application using Refine's useInfiniteList, but the cursor
pagination simply refuses to work properly. If anyone has successfully implemented this,
please help!
...
What would be the optimal way to integrate stytch auth magic links?
What would be the optimal way to integrate stytch auth magic links? It first send an email with a link which can be used for organization discovery and only after selecting the organization we can get the organization level token and consider them logged in.
I am thinking of not using the auth provider provided by refine and do it some other way, but I wanted to know if I take some other approaches....
rapid refetching
i am trying to do rapid refetching of useList hook, and seems like it has a delay of around 5 seconds. meaning that if i refetch once, then try to refetch again after 3 seconds, it doesn't actually perform a network request. how come?