rsnext/test/integration/required-server-files-ssr-404
JJ Kasper 6f698405dd
Update matched path params priority (#37646)
This ensures we use the correct dynamic route params favoring params from the URL/matched-path over route-matches. This also ensures we properly cache `_next/data` requests client side when the page is not a `getServerSideProps` page. 

x-ref: https://github.com/vercel/next.js/pull/37574

## Bug

- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-06-13 13:34:08 +00:00
..
lib Ensure minimal mode SSR 404 handling is correct (#23996) 2021-04-12 11:31:51 -05:00
pages Ensure minimal mode SSR 404 handling is correct (#23996) 2021-04-12 11:31:51 -05:00
test Update matched path params priority (#37646) 2022-06-13 13:34:08 +00:00
next.config.js Ensure minimal mode SSR 404 handling is correct (#23996) 2021-04-12 11:31:51 -05:00