joshwnj / react-visibility-sensor

Sensor component for React that notifies you when it goes in or out of the window viewport.
MIT License
2.33k stars 195 forks source link

How safe is this to be used in production? #104

Closed jEnbuska closed 6 years ago

jEnbuska commented 7 years ago

I haven't heard any of my colleges using this library so I'm wondering how safe is this to be used in production? I have a table with about ~10 000 rows and with using this library I seem to be able to show only few hundred rows at a time. I have tried using react-virtualize but It too buggy.

roopemerikukka commented 7 years ago

We have used this in production to create infinite scroll effect to load more posts. You can of course try it first in your dev/staging environment and if it works, then just lock the version and you are good to go :)

nirpeled commented 7 years ago

I use it in production and it's pretty awesome. And yeah, as @roopemerikukka suggested - always lock the version (to any npm package that you use) and you're good.

joshwnj commented 6 years ago

Thanks everyone for your input on this.