rsnext/test/e2e/app-dir/actions-navigation
Zack Tanner c2e0213fa5
fix bugs pertaining to server actions + navigation (#55853)
This fixes some scenarios where executing a server action after navigation can cause the action to behave incorrectly (double submitting, not resolving). There are two separate issues:

- `canonicalUrl` and `pendingNavigatePath` were not constructed using the same function (`createHrefFromUrl`) so in certain situations they'd be comparing different values
- a fulfilled inFlightServerAction should not be invoked again

Closes NEXT-1655
Closes NEXT-1654
Fixes #55845
Fixes #55814
Fixes #55805
2023-09-23 01:42:39 +00:00
..
app fix bugs pertaining to server actions + navigation (#55853) 2023-09-23 01:42:39 +00:00
index.test.ts fix bugs pertaining to server actions + navigation (#55853) 2023-09-23 01:42:39 +00:00
middleware.js fix bugs pertaining to server actions + navigation (#55853) 2023-09-23 01:42:39 +00:00
next.config.js fix bugs pertaining to server actions + navigation (#55853) 2023-09-23 01:42:39 +00:00