debounced-input

Wait for the typing ends and invoke passed callback. lodash debounce implementation with react hooks.

Usage no npm install needed!

<script type="module">
  import debouncedInput from 'https://cdn.skypack.dev/debounced-input';
</script>

README

debounced-input

Wait for the typing ends and invoke passed callback. lodash debounce implementation with react hooks.

NPM JavaScript Style Guide

Install

npm install --save debounced-input

Usage

import React, { Component } from 'react'

import MyComponent from 'debounced-input'

class Example extends Component {
  render () {
    return (
      <MyComponent />
    )
  }
}

License

MIT © v4irajvimu