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

237
Views
Reaccionar: error de lanzamiento de inserción de historial: no se pudo ejecutar 'pushState' en 'Historial'

Tengo una página en la URL: http://localhost:10001/track/8311c15a-7f7f-47ff-b81a-6f6904ad191c/my-form donde tengo un formulario. Después de enviar el formulario, estoy usando el historial del enrutador de React para redirigir a una página de éxito

 const MyComponent = ({match, location, history}: RouteComponentProps const onSubmit = () => { history.push(`/${baseUrl}/success`) }

Pero, cuando intento hacerlo, me sale un error:

 Uncaught DOMException: Failed to execute 'pushState' on 'History': A history state object with URL 'http://track/8311c15a-7f7f-47ff-b81a-6f6904ad191c/success' cannot be created in a document with origin 'http://localhost:10001' and URL 'http://localhost:10001/track/8311c15a-7f7f-47ff-b81a-6f6904ad191c/my-form'.

Es la primera vez que me encuentro con este error. ¿Qué estoy haciendo mal aquí?

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!