Data provider requests in loop when using Vite
I am trying to migrate my Refine with Remix app to Vite. This app is still at the very beginning, it's just a login page and a list.
I managed to integrate the auth and data providers, the login is working, the redirect for unlogged users, etc. But now I'm having a strange behavior with the list.
I copied the code for the List page that was working in the remix app, but here in Vite it is loading exactly 202 times. This was code that I exported from the Inferencer. When I try to load the Inferencer directly for the list, the error is even worse, but I think the generated code is probably easier to debug.
Here is a print of my devtools. I think some of these function names are sus, especially
I managed to integrate the auth and data providers, the login is working, the redirect for unlogged users, etc. But now I'm having a strange behavior with the list.
I copied the code for the List page that was working in the remix app, but here in Vite it is loading exactly 202 times. This was code that I exported from the Inferencer. When I try to load the Inferencer directly for the list, the error is even worse, but I think the generated code is probably easier to debug.
Here is a print of my devtools. I think some of these function names are sus, especially
workLoop. Why is a loop calling my data provider's getList function ? How can I find out what is subscribing to what ?
