Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Depends on how you use it and on how much elements. I am not sure if this is even worth to be a library. Sometimes I am wondering why people want to use a lib for everything.


I agree, many times a library isn't necessary. In backbone.js I solved this with an interval triggering a global event which sends current scroll pos to all listening views.


If it's not my own code, it's worth being a library.

And I don't want to spend my time learning to write it correctly to handle all case and be performant.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: