4 ms·
Potentially. This lib is going to call setState on every scroll event, which is triggered multiple times every time you scroll up or down the page. Traditionall
by Hovertruck 11y ago
Potentially. This lib is going to call setState on every scroll event, which is triggered multiple times every time you scroll up or down the page. Traditionally you would debounce a scroll handler like this.