is there a way to keep router query on page refresh in nextjs
问题 I have a dynamic page with a dynamic url. everything is clientside rendered. This is the link that links to the second page <Link href= {{ pathname: '/dashboard/[orderdetail]', query: { id: `${orderID}` } }} as={`/dashboard/${orderDetails.orderNo}`} </Link> This works well taking every query to the second page. But when I refresh the second page, everything is lost. Every query i had passed is lost I have tried using with/Router let orderID=this.props.router.query.orderdetail; Still on page