@render-props/debounce

v0.1.5
A state container which limits the frequency with which setState can be called using lodash's debounce function. By default, `setState` is invoked on the trailing edge of the debounce call. If `leading` and `trailing` options are `true`, func is invoked
react render props function as child hoc state container debounce

build

yarn run build:es && yarn run build:commonjs

build:es

rm -rf es && cross-env NODE_ENV=production cross-env BABEL_ENV=es babel src --out-dir es

build:commonjs

rm -rf commonjs && cross-env NODE_ENV=production cross-env BABEL_ENV=commonjs babel src --out-dir commonjs

build:publish

yarn run build && yarn publish --access public

build:config

atom ./rollup.config.js:85:32

atom

atom ./

watch:es

cross-env NODE_ENV=development cross-env BABEL_ENV=es babel ./src -w --out-dir es
npm i @render-props/[email protected]

Metadata

  • MIT
  • Whatever
  • Jared Lunde
  • released 8/18/2018

Downloads

Maintainers