Next.js Discord

Discord Forum

useSWR doesnt do parallel requests when split into components?

Unanswered
Gull Terrier posted this in #help-forum
Open in Discord
Gull TerrierOP
Hoping someone can help me on this... here's a codepen showing roughly what im doing: https://codesandbox.io/p/sandbox/frosty-kepler-9yhn3w?file=%2Fsrc%2FApp.js%3A44%2C47

The way I have this set up, it seems to waterfall. It waits on each request to complete before firing the next one. what am i doing wrong and how can i fix this?

0 Replies