3.0.0 • Published 6 months ago
@uplift-ltd/use-debounce v3.0.0
@uplift-ltd/use-debounce
Installation
npm i --save @uplift-ltd/use-debounce
API
useDebounce
Debounce a state variable or prop.
import { useDebounce } from "@uplift-ltd/use-debounce";
function MyComponent() {
const [searchTerm, setSearchTerm] = useState("");
const debouncedSearchTerm = useDebounce(searchTerm, 500);
}
3.0.0
6 months ago
3.0.0-alpha.1
1 year ago
3.0.0-alpha.0
1 year ago
3.0.0-alpha.2
1 year ago
2.0.0-alpha.0
1 year ago
2.0.0
1 year ago
1.1.3
1 year ago
1.1.3-alpha.1
1 year ago