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

393
Views
No puedo entender cómo configurar [HMR]

Estoy confundido sobre por qué mi código react.js no aceptará obtener datos en "https://hacker-news.firebaseio.com/v0/item/29042728.json?print=pretty". Sigo recibiendo el error "[HMR] Esperando señal de actualización de WDS"

Mi código de componente

 //import './App.css'; class App extends React.Component { // Constructor constructor(props) { super(props); this.state = { items: [], DataisLoaded: false }; } // ComponentDidMount is used to // execute the code componentDidMount() { fetch( //if https://jsonplaceholder.typicode.com/users is used, then works "https://hacker-news.firebaseio.com/v0/item/29042728.json?print=pretty") .then((res) => res.json()) .then((json) => { this.setState({ isLoaded:true, items: json, }); }) } render() { const { DataisLoaded, items } = this.state; if (!DataisLoaded) return <div> <h1> Pleses wait some time.... </h1> </div> ; return ( <div className = "App"> <h1> Fetch data from an api in react </h1> { items.map((item) => ( <ol key = { item.id } > User_Name: { item.username }, Full_Name: { item.name }, User_Email: { item.email } </ol> )) } </div> ); } } export default App; `` I tried to fix it by going to node_modules -> webpack -> hot folder, and editing the log.js file but it's still happening. Thank you!
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!