Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

225
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!