Full page reload on first navigation after upgrading Next.js and React #4667
Unanswered
arcanjosaddi
asked this question in
Q&A
Replies: 1 comment
-
|
@ScriptedAlchemy Do you have some tip? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm experiencing an issue in my local environment where navigation behaves unexpectedly.
On the first click of any link, the page performs a full reload instead of client-side navigation. After this initial reload, subsequent clicks to the same route work as expected.
Previously, I encountered a similar issue and was able to resolve it by properly configuring shared libraries in Module Federation. However, after upgrading to newer versions of Next.js and React, the problem has returned.
I'm trying to understand what might be causing this behaviour and whether it could be related to changes in these versions or in Module Federation compatibility.
Environment:
@module-federation/nextjs-mf: ^8.8.57
next: 15.5.12
react: 19.2.4
react-dom: 19.2.4
Additional context:
The issue only happens on the first navigation.
After the initial load, routing works correctly (client-side).
This was previously fixed via shared dependency configuration.
Beta Was this translation helpful? Give feedback.
All reactions