jamesplease / lrud

A React library for managing focus in TV apps.
MIT License
41 stars 19 forks source link

Can we use this library for production application ? #34

Closed asishap007 closed 3 years ago

asishap007 commented 3 years ago

Hi We are planning to create a TV application. For navigation purpose can we use this library for production purpose ? Is there any performance bench mark for this library ?

jamesplease commented 3 years ago

Aside from the fact that there are zero tests (#6 ), the types may only be 98% accurate (#17), and that there are a few known issues (#31), it should be prod-ready.

For most typical TV interfaces, perf won't be a problem for any LRUD solution, including this lib. If you have long/infinite lists, you'll want to virtualize the DOM, and this lib may or may not play well with virtualization. And if you have hundreds/thousands of nodes on the screen at one time, then this lib may or may not be a good fit for you as I don't use it in those kinds of situations, and I'm not sure how it would perform.