react-visibility-sensor

v5.0.0
Sensor component for React that notifies you when it goes in or out of the window viewport.
react react-component visibility

clean

rm -rf dist && mkdir dist

prebuild

npm run clean

build

webpack --env=production

build-example

rm -rf example/dist && webpack --env=example

build-test

webpack --env=test

publish-gh-pages

npm run build-example && ./bin/publish-gh-pages

test

npm run build-test && karma start --single-run

prepublishOnly

npm run build

Metadata

  • MIT
  • Whatever
  • joshwnj
  • released 10/11/2018

Downloads