query in next js 13 app directory

in next js 12 if we have a dynamic route and we want get the query we do for example this : getServerSideprops (context){ const { id } = context.query; } , so how can we get the same result with the new server side rendering functions ?
1 Reply
Want results from more Discord servers?
Add your server