Suspense fallback UI doesnt show on page refresh
Unanswered
Belgian Hare posted this in #help-forum
Belgian HareOP
25 Replies
Don't you see the skeleton even after hard-refresh?
Belgian HareOP
np :((
copy the link and paste in the new tab or in the different browser, you should get skeleton
Belgian HareOP
i dont sadly
very weird :/
i even revalidated the path on useeffect
Belgian HareOP
i think i found the culprit
@James4u (Tag me if needed)
useEffect is not needed here, you do server-side data fetching and pass down to the component, you just need to show
Belgian HareOP
i know but i have to save the data somewhere too
to components in other files
so this worked
but weird issue
i tried console.log in my client component and it shows on server too?
how come
how come it printed on server
nvm
Belgian HareOP
wait
this issue is caused by html2pdf loading dynamic too ðŸ˜
@James4u (Tag me if needed) wont load that html2pdf component dynamic 😑
So all the issues you've seen by me are solved by just not loading the component ( which has html2pdf ) as dynamic bruh