use-is-in-viewport

A react hook to find out if an element is in a given viewport with a simple api.

MIT License

Downloads
65.4K
Stars
150
Committers
5
use-is-in-viewport - tsserver /tsc should now pick up the correct types Latest Release

Published by zeusdeux over 4 years ago

  • Corrected types path. (#12) (thanks @jnguyenmt) 81ed1bf
  • Rename publish task 3f8ea1f
  • Call np from an npm script 125acbf

https://github.com/zeusdeux/use-is-in-viewport/compare/v1.0.8...v1.0.9

use-is-in-viewport -

Published by zeusdeux over 4 years ago

  • Add np to help publish the package d1716e3
  • Handle elements that aren't mounted (#10) 1ab7258
  • Update Readme.md 42ae6ba
  • Nuke and recreate package-lock.json c0a3b75
  • Merge pull request #9 from zeusdeux/dx/add-package-lock 9540d3d
  • Add package-lock.json to enable easier contribution bee2fd1
  • Fix TypeScript config in typechecking mode (#8) d825cfb
  • Clean built artifacts before rebuilding. ec47313
  • Update readme f4de630

https://github.com/zeusdeux/use-is-in-viewport/compare/v1.0.7...v1.0.8

Package Rankings
Top 3.2% on Npmjs.org
Related Projects