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

176
Views
Obtener una página en blanco después de actualizar mi reacción a v18

Después de importar desde reacciones y renderizar a app.js, obtuve una página en blanco, aunque acabo de actualizar a react18. aquí está mi código a continuación.

 import React from 'react'; import { createRoot } from 'react-dom/client'; import { BrowserRouter } from 'react-router-dom'; import App from './App'; const container = document.getElementById('root'); const root = createRoot(container); root.render( <BrowserRouter> <App /> </BrowserRouter> );

y obtuve este error a continuación en mi consola

el error anterior ocurrió en el componente: en meta

 at HomePage at Routes (http://localhost:3000/static/js/bundle.js:40123:5) at App at Router (http://localhost:3000/static/js/bundle.js:40056:15) at BrowserRouter (http://localhost:3000/static/js/bundle.js:38865:5)

Mi componente de aplicación

 import { Routes, Route } from 'react-router-dom'; import HomePage from './pages/Home'; function App() { return ( <Routes> <Route path='/' element={<HomePage />} /> </Routes> ); } export default App;
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!