▲ 2 points
Ask HN: How to pick a minimal JavaScript library/framework?
I'm working on a fairly simple d3 visualization application. A few different pages and various views that need to be composed in different ways. I started with vanilla js + d3, but slowly started adding some basic object orientation. I recently added basic event handling with a pubsub library. Finally a couple days ago I created a View base class and accepted the fact that I'm reinventing the wheel here. All I really need is a library to abstract the concept of views with basic event handling to facilitate reuse and composition. It needs to be un-opinionated about rendering (since that's handled by d3) and work as just a script tag; no build step. If anyone has suggestions for this use case I'd love to hear them. It seems like maybe Backbone? I'd really prefer something simpler. The learning curve seems steep to figure out what I do and don't need. In general are there good ways to find minimal frameworks meeting specific criteria like this?