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

123
Views
Al editar datos específicos, esos datos específicos no se cargan para editarlos

Al editar datos específicos, esos datos específicos no se cargan para su edición. Este es el código del archivo de edición. Usé tecnología frontend como React js y tecnología Backend como Koa js. Aquí utilicé mongo DB como base de datos. Este código no funciona correctamente para la edición. ¿Hay algún problema con el código?

 useEffect(() => { axios.get("http://localhost:5000/student/${id}").then((res) => { setStudent(res.data.existingData); setName(res.data.existingData.name); setAge(res.data.existingData.age); setCity(res.data.existingData.city); }); }, []);
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Utilice acentos graves para definir una URL

 axios.get(`http://localhost:5000/student/${id}`).then((res) => {
about 4 years ago · Santiago Trujillo 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!