Cannot use the same host twice in Next.js 13
On the left of the screenshot, I am fetching posts in a layout. On the right, I am streaming comments in. If I use the same host for comments as I did for posts (https://jsonplaceholder.typicode.com/comments), the page infinitely loads. If I switch it out for a different host (https://dummyjson.com/comments ), it works fine.
I've checked the endpoint in the browser and it responds quickly every time
3 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
That would make sense! Thanks so much
Also cool that you can enable undici like that
@LordOfSnakeOil I'm going to make a quick video about this 'gotcha', mind if I give you a shoutout in it?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View