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

226
Vistas
how to show/display real time data in react js my using external javascript

i am working on a project i which i used c++,javascript,Emscripten. **

C++ part

In my c++ part i have struct alike

struct Person
    {
       int name;
       string type;
       .
       .
    }

So for generating person data i made a function which sets values and return object

Web Assembly or Emscripten

So for sending and using c++ in javascript on frontend i used emscripten.

It perfectly working.Data is generating from c++ and displaying in console in js/html file (only in console)

Problems i am facing right now:

1- data in not showing in real time on html page.When all data reloads then it shows on html(i also tried approach of async and script tag up and down in body of html) 2- How i can use this tag and data in displayed in real time in my react app.

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

0

You need to make a websocket server for showing data in realtime. If you dont know how to make a websocket server you can try socket io its simpler for beginners and works well for small projects. Socket io for cpp -https://github.com/socketio/socket.io-client-cpp

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