I have googled, watched lot of videos to implement something like youtube loading as in the screenshot below. So I have route based naviation where I have lazy loads so everything works fine but while loading the content react suspense will make display:none to the components as a result it becomes invisible form the screen and only the fallback component is visible
I want to keep the content visible and I will make a custom fallback component like the youtube.
<Suspense fallback={<div>Loading...</div>}>
{content}
</Suspense>
