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

269
Views
¿Por qué no obtengo ningún error aquí? (En la aplicación de reacción)

soy nuevo en reaccionar

índice.js

 // import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import Card from './Card'; import 'tachyons'; import reportWebVitals from './reportWebVitals'; ReactDOM.render( <Card/>, document.getElementById('root') ); // If you want to start measuring performance in your app, pass a function // to log results (for example: reportWebVitals(console.log)) // or send to an analytics endpoint. reportWebVitals();

Tarjeta.js

 // import React from "react"; const Card = ()=>{ return( <div> <h1>I am A Card </h1> </div> ); } export default Card;

como en los dos archivos que comenté // import React from 'react';

pero <Card/> (en index.js) y <div><h1>I am A Card </h1></div> (en Card.js) que luego se convierten en React.createElement(); Llamada de función

que requiere React , que ya comenté, por lo que debería darme un error 'React' is not defined no-undef pero no recibo ningún error aquí por qué.

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!