1.0.17 • Published 2 years ago

@skapxd/debounce v1.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

How to use

Debounce

It takes care of ignoring the first functions that are called and executing the last time the function is called after a certain time

Case of use

  • Online search engine

InverseDebounce

It is in charge of executing the first time the function is called and ignores the calls of the other times that the same function is called

Case of use

  • Loading data when reaching the end of a InfinityScroll

Vanilla Debounce - Live examples

Edit @skapxd/debounce

React Debounce - Live examples

Edit @skapxd/useDebounce

Vanilla InverseDebounce - Live example

Edit @skapxd/inverseDebounce

React InverseDebounce - Live examples

Edit @skapxd/useInverseDebounce

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago