Introducing Backbone
Backbone is a JavaScript library that allows us to define models, collections, and views. It helps to organize keeping track of what is happening on a web page in JavaScript. Like React, it is not a fully-featured library. Backbone does more than React, but a lot less than Angular or Ember.js. This is not better or worse, it is just different. Everything we are building in this application can easily be implemented in any other JavaScript framework.
We just covered how React can render views and track events. Backbone has these same capabilities, but we will not be utilizing them. In my opinion, React's DOM manipulations are better, and eliminates the need to have a view teardown step, where we unattached each event listener. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access