We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eab8a99 commit cc3999fCopy full SHA for cc3999f
packages/solid-router/src/Match.tsx
@@ -96,7 +96,12 @@ export const Match = (props: { matchId: string }) => {
96
<matchContext.Provider value={() => props.matchId}>
97
<Dynamic
98
component={ResolvedSuspenseBoundary()}
99
- fallback={<Dynamic component={PendingComponent()} />}
+ fallback={
100
+ // Don't show fallback on server when using no-ssr mode to avoid hydration mismatch
101
+ router.isServer || resolvedNoSsr ? undefined : (
102
+ <Dynamic component={PendingComponent()} />
103
+ )
104
+ }
105
>
106
107
component={ResolvedCatchBoundary()}
0 commit comments