rsnext/packages/next/next-server/lib
JJ Kasper 65588083db
Ensure query for static pages with rewrites is updated correctly (#24189)
This updates the query refreshing on the client to also refresh when rewrites are used and the page is static since additional query values can be provided from rewrites that are relied on client-side. An additional test has been added in the custom-routes suite to ensure this is working correctly. 

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added

Fixes: https://github.com/vercel/next.js/issues/23490
Fixes: https://github.com/vercel/next.js/issues/22931
Fixes: https://github.com/vercel/next.js/issues/21062
2021-04-18 10:00:04 +00:00
..
i18n Re-add domain locale redirect handling (#18274) 2020-10-27 04:45:39 -04:00
router Ensure query for static pages with rewrites is updated correctly (#24189) 2021-04-18 10:00:04 +00:00
amp-context.ts Add sourcemaps to Next.js core compilation (#13049) 2020-05-19 09:09:59 +02:00
amp.ts chore(next): export/lib/next-server missing types (#13320) 2020-05-24 22:44:05 +00:00
constants.ts Add generating static 500 status page (#22139) 2021-02-22 16:29:50 +00:00
document-context.ts Support persisting the dev cache buster (#15827) 2020-08-03 14:22:55 +00:00
dynamic.tsx Update err.sh links to use nextjs.org/docs/messages instead (#23353) 2021-03-29 10:25:00 +02:00
head-manager-context.ts Script loader component (#18281) 2020-12-01 19:10:16 +01:00
head.tsx Don't dedupe meta tags with the same name but unique keys (#17099) 2021-01-03 10:35:51 +00:00
loadable-context.ts Add sourcemaps to Next.js core compilation (#13049) 2020-05-19 09:09:59 +02:00
loadable.d.ts Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
loadable.js Remove unused variable (#13716) 2020-06-03 11:58:58 -04:00
mitt.ts Remove tslint disables (#16116) 2020-08-12 14:39:07 +00:00
post-process.ts Font optimization - Pass nonce to inlined font definition (#21346) 2021-01-26 18:32:39 +00:00
router-context.ts Add sourcemaps to Next.js core compilation (#13049) 2020-05-19 09:09:59 +02:00
runtime-config.ts chore(next): export/lib/next-server missing types (#13320) 2020-05-24 22:44:05 +00:00
side-effect.tsx Handle rendering next/head outside of Next.js (#14511) 2020-06-23 20:46:40 +00:00
to-base-64.ts Fix html validation for Image component (#18903) 2020-11-07 17:39:14 +00:00
utils.ts Update err.sh links to use nextjs.org/docs/messages instead (#23353) 2021-03-29 10:25:00 +02:00