Yongwoo Jung

Results 72 comments of Yongwoo Jung

`getInitialProps` is always executed when a page is moved, and when a `hydrate` action occurs, the client's state is overwritten with the server's state. So the `hydrate` action should be...

@rbabayoff Please refer to the link below 😅 https://stackoverflow.com/questions/60684227/api-resolved-without-sending-a-response-in-nextjs

@rbabayoff The point of the answer above is to return a `Promise.resolve() or Promise.reject()`.

> @stegano just returning resolve or reject didn't work for me, I needed to also call res.end() before resolving or rejecting. Below's the entire code that worked for me, please...

Hi @rametta Could you show me the code using next-http-proxy-middleware?

@JackCuthbert Thanks for the great answer! I'll add it to the documentation.

Hi @Kerumen It seems to force NextJS to remove the slash (/) at the end of the URL if the API URL path contains a '.'. In my case, the...

> Thanks for your reply. I don't have any `.` in my URL. In fact, the URL is the same between the normal HTTP endpoint and for the WebSocket endpoint...