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

112
Views
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
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!