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

123
Vistas
How to create a real-time React application?

I want to create a real-time news application. Just think of a list of countries and the news about that country next to the country name. But the news column should be automatically updated when new news is added to the API. For Example, I have this endpoint: https://newsdata.io/api/1/news?apikey=YOUR_API_KEY&country=au In this case, the country is Austria. How can my react application automatically checks the server and fetch the data if there is an update? I don't want to use setInterval to check it in specific time ranges, can socket io be used in this case?

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

0

You can use "socket.io-client" for your react app and "socket.io" for your node server. Your server can raise an event that the react app can handle with the help of "socket.io-client" after each update of the API

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