Open
Description
Hooks make it very easy to shoot yourself in the foot and create an infinite loop causing many HTTP requests in a short time. Perhaps React Async should offer an easy way to prevent this by throttling or debouncing the creation of new promises/requests.
We can offer this as an option (e.g. throttleMs
or throttleFn
), do it automatically out of the box (in dev mode), or both.