Next13 is out, and they advise to use the new app directory where every component is by default a "Server Component"
Inside a "server Component", you can use:
- async/awaitto fetch data.
- cookies()to retrieve cookies
- headers()to retrieve request headers.
But I can't find how to retrieve query params.
Before Next 13, within getServerSideProps, you could use context.query to access the query params.
Do you know how to retrieve query params using "server Component" in Next 13.
 
     
     
     
    