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

127
Views
¿Cómo actualizo los valores de mi columna en una tabla sobre una API en reaccionar nativo?

Puedo obtener valores con éxito a través de una API y mostrarlos en formato de tabla. Un campo de la tabla es un campo de tipo de texto que quiero actualizar para todas las filas con un solo botón. No puedo hacerlo. Cualquier ayuda será apreciada.

Esta es mi función de actualización:

 update(e) { e.preventDefault(); // this will update entries with PUT fetch("http://localhost:3000/users", { "method": "PUT", "headers": { "content-type": "application/json", "accept": "application/json" }, "body": JSON.stringify({ status: this.state.status }) }) .then(response => response.json()) .then(response => { console.log(response); }) .catch(err => { console.log(err); }); e.preventDefault(); }
about 4 years ago · Juan Pablo Isaza
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!