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

114
Vistas
React Application unresponsive for initial 8-10 second

I used React Bootstrap Form component in my application. On Submit if Form Validation Criteria is true, I move or render to a difference component in my Parent class. It render the component I wish, but my render component is unresponsive for first 10 second. Could you let me know the reason for this. My code snippet is

   handleSubmit = (event) => {
        const form = event.currentTarget;
        console.log("EVENT LOG", event)
        if (form.checkValidity() === false) {
            event.preventDefault();
            event.stopPropagation();
            this.setState({ validated: true });
        }
        else {
            event.preventDefault();
            event.stopPropagation();
            this.props.sendData(this.state);
            this.props.nextStep();
        }

        //this.setState({ validated: true });
    };
I store the state of my current Child component to parent array variable and render the desire child component with this.props.nextStep() methods.

 
about 4 years ago · Juan Pablo Isaza
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