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 ?
getServerSideprops (context){
const { id } = context.query;
}
, so how can we get the same result with the new server side rendering functions ?
