react-scrolllock

v5.0.1
Prevent scroll on the body when component is mounted.
react scroll scroll-lock disable-scroll

test

jest

lint

eslint .

start

webpack-dev-server --mode development

build

babel src -d dist --copy-files

prepublishOnly

npm run build

build:examples

webpack --mode production

deploy:examples

gh-pages -d examples/dist

publish:examples

npm run build:examples && npm run deploy:examples

precommit

flow check && lint-staged
npm i react-scrolllock

Metadata

  • MIT
  • Whatever
  • Joss Mackison
  • released 2/19/2020

Downloads