hoangvvo/next-connect

What is "RequestContext" and how it should be used when using NextJs 13?

hywook4 opened this issue · 2 comments

Hi. I'm using next-connect with NextJs 13 using app directory.

I've read the example and came up with the question what "RequestContext" is and how it can be used.

Thank you.

Anyone got this working with "app" , anyone at ALL , please write .. it be so useful! <3

I've been also looking for a way to pass data through handlers using the context. Is that possible?
Perhaps we can pass some generics from middleware that enriches the context and allow us to pass data?