�
�
­2019-02-22 21:17:22
React
­, 2019-02-22 21:17:22

How can I make the loader appear until the page is loaded?

My single page application has a lot of images coming from a third party api.
I want the loader to be displayed when the page is opened (Inscription Loading... , for example). And as soon as all the pictures are loaded, the loader disappears and the page is displayed.
Is this even possible?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly Kirenkov, 2019-02-22
@DeLaVega

https://javascript.ru/forum/css-html/29896-indikat...
Somehow it seems so. Well, adapt for yourself with a large number.

N
Nikolai, 2019-02-24
Demidovets @Nik_o_lay

use thunk to help implement asynchronous actions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question