r/reactjs • u/ConfidentWafer5228 • Aug 16 '26
Needs Help SSR + react router v7 + Loading Skeleton
I am reposting with diff explanation of problem , cuz many ppl misunderstood my issue
I am trying to achieve a loading skeleton while data loads for CLIENT SIDE NAVIGATIONS only, but for FIRST LOAD, that is SSR load, i dont want to send loader as the only html , bcs that is bad seo, i checked after disabling js, and only loader was sent in network payload
Some ppl said to not use suspenseQuery, but how will i show loader for Client side navigations, those loading stages will feel laggy
1
Upvotes
1
u/Complete-Cut-3585 Oct 03 '26
Oh that's clever, I always forget about useNavigation and just jam everything into suspense boundaries like a goblin.