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

370
Views
ERROR Warning: Maximum update depth exceeded

This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.

useEffect(() => {
    hitAPI();
  }, []);
  const hitAPI = () => {
    axios.get('https://restcountries.com/v2/all').then(response => {
      setAllCountries(response.data);
      let temp = [...response.data];
      for (let i = 0; i < temp.length; i++) {
        if (temp[i].callingCodes == 91) {
          setSelectedItem(temp[i]);
        }
      }
      console.log(setItem, 'item');
      setloading(false);
    });
  };

@react-navigation/material-top-tabs using this for tab screen and after install pkg getting following error 'Attempts to invoke virtual method 'android.graphics.drawable android.graphic' error

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