Skip to content

#324 🛡️ Strict-Hydration | Safe Server Skeleton Mappings for Cryptogr…#336

Merged
Sadeequ merged 1 commit into
StellarFlow-Network:mainfrom
Chinonso-Peter:main
Jun 1, 2026
Merged

#324 🛡️ Strict-Hydration | Safe Server Skeleton Mappings for Cryptogr…#336
Sadeequ merged 1 commit into
StellarFlow-Network:mainfrom
Chinonso-Peter:main

Conversation

@Chinonso-Peter

Copy link
Copy Markdown
Contributor

#324 🛡️ Strict-Hydration | Safe Server Skeleton Mappings for Cryptographic Layouts
What changed:
Tightened the mount gate in useMounted.ts (line 5) so server and first-client render stay on the static path.
Wired SocketProvider (line 91) into the root layout so the live price feed context is actually available at runtime.
Added reusable, size-matched skeletons for the live price card and traffic chart in PriceFeedCardSkeleton.tsx (line 4) and DashboardTrafficChartSkeleton.tsx (line 4), then exported them from skeletons/index.ts (line 1).
Reworked DashboardInteractive.tsx (line 49) so the initial server fallback uses the exact same structural shells as the hydrated dashboard, instead of generic placeholders.
Hardened PriceFeedCard.tsx (line 259) so it returns the shared skeleton until mount, and only then starts processing browser/sockets-dependent values.
Kept the chart component purely client-side and aligned its loading state in DashboardTrafficChart.tsx (line 33).

closes #324

@drips-wave

drips-wave Bot commented Jun 1, 2026

Copy link
Copy Markdown

@Chinonso-Peter Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Sadeequ Sadeequ merged commit 6f8972d into StellarFlow-Network:main Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🛡️ Strict-Hydration | Safe Server Skeleton Mappings for Cryptographic Layouts

2 participants