#324 🛡️ Strict-Hydration | Safe Server Skeleton Mappings for Cryptogr…#336
Merged
Conversation
…ppings for Cryptographic Layouts
|
@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! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#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