With so many packages and libraries out there, how do you choose which one is right for your project?
👀 What to look for
First and foremost, the library will fulfill a need for your project. Perhaps it’s to improve render performance of a large list, or maybe you want to add keyboard shortucts to your application. The library you inevitably choose will solve this problem for you and will ideally solve it without adding too extra much cruft.
Some libraries solve a good problem but are riddled with extraneous dependencies that add bloat to your application. When you’re developing for the web, you ideally are thinking about the bandwidth cost your app requires to be functional.
Second, look at the dependencies of the library.
Quality of Tests
Tests are incredibly important to ensure that the library you install today won’t break when it is patched or upgraded in the future.