flat-fuchsia
flat-fuchsia2y ago

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
No description
3 Replies
Omer
Omer2y ago
Hi @Michaelreda , Can you give us more detail about your code ? or you can reproduce the issue on stackblitz
flat-fuchsia
flat-fuchsia2y ago
What's the details that you want?
ratty-blush
ratty-blush2y 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.