Show loader until the content completely renders

94 Views Asked by At

Show Skeleton until the images are fully rendered

I am having a problem that i cannot fix and until now i am completely stuck. I am redering a few images on a page in a React application using Redux. My problem is that while i am waiting for the images to load i am showing a Skeleton. However the Skeleton stops showing the moment the data is received and the loading is set to false. I prefer not to use J Query. How can i set the loading state to false only after the images are fully rendered.

Help would be highly appreciated

0

There are 0 best solutions below