useCustom
Hi,
I use refine for my project.
I use useCustom for this endpoint.
My question:
Why this request render 8 times?
#ask-any-question #useCustom
3 Replies
Hi @Michaelreda ,
Can you give us more detail about your code ? or you can reproduce the issue on stackblitz
adverse-sapphire•2y ago
What's the details that you want?
foreign-sapphire•2y ago
@Michaelreda Hi again,
There can be many reasons for this problem.
The first thing that comes to my mind is the unnecessary re-rendering of the component.
But, we need to see the
code
to debug and solve the problem.
If you can reproduce the problem, it will be much easier for us to find a solution. You can use platforms such as stackblitz or codesandbox for this.