rsnext/test/e2e/app-dir/navigation
Zack Tanner d330f7b02c
fix: ensure mpa navigation render side effects are only fired once (#55032)
This is to fix an issue where these redirect side effects can be fired multiple times when the router reducer state changes. This block is still run when the router state updates, which can lead to superfluous attempts to redirect to a page.

With these changes, we keep track of the page that is being redirected to. If a re-render occurs while that request is in flight, we don't trigger the side effects. 

[Slack x-ref](https://vercel.slack.com/archives/C04DUD7EB1B/p1694049914264839)
2023-09-07 20:53:07 +00:00
..
app fix: ensure mpa navigation render side effects are only fired once (#55032) 2023-09-07 20:53:07 +00:00
pages fix: ensure mpa navigation render side effects are only fired once (#55032) 2023-09-07 20:53:07 +00:00
middleware.js Export RedirectType from next/navigation (#54729) 2023-08-29 11:05:44 -07:00
navigation.test.ts fix: ensure mpa navigation render side effects are only fired once (#55032) 2023-09-07 20:53:07 +00:00
next.config.js Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00