URL Query Parameters

You can read the query parameters with request.nextUrl.searchParams.get('xxx').
In development mode, Next.js performs extra work to ensure the best developer experience, which might result in double renders or route calls.
Notice the URL parameters attached to the link: ?query=hello in /app/page.tsx.