rsnext/packages/next/shared/lib/router
Javi Velasco 3da1f17d5a
[middleware] Fix hydration for rewrites to dynamic pages (#32534)
Fixes #32302 

This PR fixes an issue on hydration where we rewrote using a middleware to a dynamic path. In such cases we need to run preflight to find out the middleware operation metadata.

## Bug

- [X] Related issues linked using `fixes #number`
- [X] Integration tests added
- [X] Errors have helpful link attached, see `contributing.md`
2021-12-15 13:33:13 +00:00
..
utils Fix dynamic routes with pages under index folder (#32440) 2021-12-13 20:36:31 +00:00
router.ts [middleware] Fix hydration for rewrites to dynamic pages (#32534) 2021-12-15 13:33:13 +00:00