Skip to content
#

throttle

Here are 222 public repositories matching this topic...

jdthorpe
jdthorpe commented Nov 21, 2021

Describe the bug
The useSize() function in the demo for @react-hook/resize-observer uses the anti-pattern of depending on the ref object provided by React.useRef() in the dependency list of React.useLayoutEffect(). This has the effect of not setting an initial value for the size on the first rendering. This matters because elements that don't get re-rendered never get a sized.

**

good first issue

A Guzzle middleware that can throttle requests according to (multiple) defined rules. It is also possible to define a caching strategy, e.g. get the response from cache when the rate limit is exceeded or always get a cached value to spare your rate limits. Using wildcards in host names is also supported.

  • Updated Sep 21, 2021
  • PHP
sigmavirus24
sigmavirus24 commented Jan 1, 2019

I think my first attempt at an example project (for Flask) highlighted how rough it can be to integrate anything into some of the web frameworks if you're not intimately familiar with them.

I'd be open to assembling some folks to maintain a bunch of integrations with

  • Flask
  • Klein/Twisted/etc
  • Falcon
  • Django/DRF
  • etc.
enhancement help wanted good first issue

Improve this page

Add a description, image, and links to the throttle topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the throttle topic, visit your repo's landing page and select "manage topics."

Learn more