Javascript – Too many re renders – React – Filter Data
const MyComponent = () => { const [avaliador, setAvaliador] = useState(""); const [avaliadoresList, setAvaliadoresList] = useState([]); const [DataResultsTotal, setDataResultsTotal] = useState([]); const filters = useSelector((state) => state.filter); // not all consts is here, only to show the problem const fetchData…