rsnext/test/e2e/app-dir/app-prefetch-false/app
Jimmy Lai c6c4a3d3eb
app router: fix double fetch on prefetch={false} (#51292)
This PR fixes a few reports that we were double fetching when navigating via a link that had prefetch false.

## Context

The bug was happening because we were inadvertently eagerly fetching even if we potentially bailed out of the optimistic navigation, which would then trigger another fetch from going through the regular navigation path.

There's potentially another bug here where we should potentially not bail out of optimistic navigation in the cases reported but we can fix that later.



fix #49844
link NEXT-1287
2023-06-14 13:42:14 +00:00
..
[slugA] app router: fix double fetch on prefetch={false} (#51292) 2023-06-14 13:42:14 +00:00
layout.tsx app router: fix double fetch on prefetch={false} (#51292) 2023-06-14 13:42:14 +00:00
page.tsx app router: fix double fetch on prefetch={false} (#51292) 2023-06-14 13:42:14 +00:00