You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RootLayout wraps every route in client-side AuthProvider and WalletProvider, forcing full client hydration even for fully static, anonymous marketing pages #223
AuthProvider and WalletProvider are both "use client" components with their own
mount-time useEffects: AuthProvider calls apiRequest("/auth/me") on every page load
(via refresh()) even for a fully anonymous visitor who has no token, and WalletProvider
reads localStorage and subscribes to storage events on mount. Because these providers
sit in the root layout, every route in the app — including HomePage
(src/app/page.tsx), a purely informational marketing page with no auth/wallet-dependent
content of its own — pulls in and executes this client-side auth/wallet bootstrapping
before it's interactive, rather than being served as static, auth-independent HTML/CSS
that doesn't need to hydrate any of this to be useful.
This means an anonymous visitor landing on / for the first time pays the cost of
hydrating AuthContext+WalletContext (including a network call to check for a
nonexistent session) before the page is fully interactive, purely because Navbar
(which does need auth state, for its sign-in/sign-out UI) is rendered in the same root
layout as the page content, with no boundary separating "needs auth state" from
"doesn't."
Suggested fix: consider scoping AuthProvider/WalletProvider more narrowly (e.g. via a
route group that excludes purely static marketing routes, or lazy-initializing the /auth/me check only once Navbar is actually visible) so static pages aren't forced
to carry the full auth/wallet bootstrap cost.
@Baytizz has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
I have reviewed the issue and can fix it perfectly to meet the acceptance criteria. The issue aligns with my skill set and I have fixed something similar in the past
@bellofuad34-ctrl has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
Hi Maintainer, I’m interested in contributing to this issue. I have hands on experience with similar tasks and a solid technical background, and I’m confident I can make a meaningful contribution. I’m available to start immediately and would be happy to discuss the approach and next steps.
@Komelove has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
I’d like to work on this issue. I’ve reviewed the requirements and understand the work involved. I’ll implement the changes, test them properly, and submit a clean PR. I’m ready to begin.
Congratulations, @abayomiwav! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @abayomiwav: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🏆 @abayomicornelius: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (347 total points). Track your full progress on GrantFox.
😎 @abayomiwav: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.
Activity
Baytizz commentedon Aug 24, 2026
@Baytizz has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Baytizz to this issue.
abayomiwav commentedon Aug 24, 2026
@abayomiwav has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @abayomiwav to this issue.
bellofuad34-ctrl commentedon Aug 24, 2026
@bellofuad34-ctrl has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @bellofuad34-ctrl to this issue.
OG-wura commentedon Aug 24, 2026
@OG-wura has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @OG-wura to this issue.
Komelove commentedon Aug 24, 2026
@Komelove has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Komelove to this issue.
drips-wave commentedon Aug 24, 2026
Congratulations, @abayomiwav! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @abayomiwav: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
grantfox-oss commentedon Aug 24, 2026
🎉 This issue has been marked as completed on GrantFox as part of the Third Campaign campaign!
@abayomicornelius's PR #303 was approved and merged by @chonilius.
🏆 @abayomicornelius: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (347 total points). Track your full progress on GrantFox.
👏 Great work, @abayomicornelius! Keep contributing to MergeFi.
drips-wave commentedon Aug 24, 2026
This issue has been completed by @abayomiwav as part of the Stellar Wave Program's 8th Wave 🥳
😎 @abayomiwav: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.