Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

186
Vistas
How to build Splash Screens in React

I am building this website and have hosted it on the heroku free tier therefore takes a minute there before starting up.I feel this is rather slow and would probably be wise if i had something like a splash screen like you would see when you go to the twitter or instagram websites where it displays a logo first instead of just a blank screen before the website loads up.

Would anybody know how to do this in React? Please provide me the code on how to achieve this.

about 4 years ago · Juan Pablo Isaza
3 Respuestas
Responde la pregunta

0

The problem here is not that the react app takes time to load, but the free heroku dyno itself goes offline if it idle for a certain while.

You can make use of some hacks like https://www.pingdom.com/, where you need to make a request to your app every x interval to avoid it from going to sleep.

Note: This will impact your free dyno hours.

about 4 years ago · Juan Pablo Isaza Denunciar

0

I think the easiest and, maybe, best way would be to do this through the React Context API. Here is a Codesandbox example of how it can be done using the React Context API.

about 4 years ago · Juan Pablo Isaza Denunciar

0

So first what your talking about is preloader, not splash screens,

splash screens are used for mobile applications, while preloader, or loading screens are used for web applications

I would drop some codes on how to achieve that, do i get what you need right?

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda