Offset (multiple API Calls per parameter) causes fetching problems #769
-
Our connected API only allows 20 results per fetch. But The API has a total of 200 dog breeds. Because with All this happens in the backend code (api route)
then we try to get a promises resolved and an array with an data object:
We do not get errors (good thing) but we also do not get a filled array back, instead we get an empty array. Help appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi Gregor, please send us a PR with the current state of your app :) |
Beta Was this translation helpful? Give feedback.
-
Thank you both for the detailed answer. We already use it in our code and it works very well. |
Beta Was this translation helpful? Give feedback.
Exactly @NikRoe !
If you want to refactor it a bit and make it a bit more functional, this may be interesting: