lot of requests
Unanswered
Arthur posted this in #help-forum
12 Replies
Silver Marten
Really hard to help you without any code. But have you wrapped something in a useEffect and that keeps updating since the evaluation of the useEffect is triggering so fast?
useEffect(() => {
fetchCurrentNameservers();
})I had this
changed to this:
useEffect(() => {
fetchCurrentNameservers();
}, [])Fixed it ig
Still question tho
In these children they all have useEffect inside
It makes to many requests at the same time. How can I limit or enqueue this?
Also, how can I now when useEffect is going to trigger?