Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

122
Vistas
A simple reactjs webpage with a grid shows up as white page even though there are no errors in my terminal

I'm currently trying to learn react js using a tutorial I found. So as I'm following along, the webpage doesn't seem to appear the same for me. Even though I followed every single step of his.

It just shows an empty white page.

Here's my code:

import React, { Component } from 'react';
import Grid from '@mui/material/Grid';

class LoginPage extends Component {
    constructor(props) {
        super(props);
        this.state = {  }
    }
    render() { 
        return ( 
            <Grid container>
                <Grid item xs={3}>
                    ffdiaj
                </Grid>
                <Grid item xs={6}>
                    fdslkafj
                </Grid>
                <Grid item xs={3}>
                    fdsaife
                </Grid>
            </Grid>
         );
    }
}
 
export default LoginPage;
import './App.css';
import LoginPage from './Components/LoginPage/LoginPage';


function App() {
  return (
    <div className="App">
      <LoginPage />
    </div>
  );
}

export default App;

My terminal doesn't show any error:

Compiled successfully!

You can now view myinstagram in the browser.

  Local:            http://localhost:3000
  On Your Network:  http://192.168.1.13:3000

Note that the development build is not optimized.
To create a production build, use npm run build.

assets by path static/js/*.js 2 MiB
  asset static/js/bundle.js 1.99 MiB [emitted] (name: main) 1 related asset
  asset static/js/node_modules_web-vitals_dist_web-vitals_js.chunk.js 6.89 KiB [emitted] 1 related asset
asset index.html 1.67 KiB [emitted]
asset asset-manifest.json 458 bytes [emitted]
cached modules 3.05 MiB [cached] 405 modules
runtime modules 31.4 KiB 16 modules
./src/Components/LoginPage/LoginPage.js 2.17 KiB [built]
webpack 5.65.0 compiled successfully in 5011 ms

When I open my Firefox console, this is what shows up as error.

about 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda