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

133
Vistas
React.js: layout different areas without adding multiple components

enter image description here

Hi, I am currently a beginner to React.js, and I want to know if I could divide the a page's body with different background color without adding multiple components. I have implemented the header and the footer, but I do not have any ideas to divide a body area into three parts. For example,

function App() {
  return (
    <div className="App">
      <Navbar />
      <AreaOne/>
      <AreaTwo/>
      <AreaThree/> 
      <Footer />
    </div>
  );
}

I was thinking about to use this kind of method, but I think it might be a better / more commonly used method. Any ideas would be appreciated

about 4 years ago · Santiago Gelvez
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