New JS libraries readily available in Drupal 8

Drupal 8 comes up with Modernizr, Underscore and Backbonejs libraries to support many improvements for Editorial and  Front-end experience. These libraries helps primarily in

  1. Developing Mobile-First or more efficient Mobile Friendly application.
  2. Reach User Interface (RIA) application.
  3. Bringing most out of the latest capabilities of the latest browsers and providing best possible user experience. 

Here are these libraries:

1. Modernizr

Reference URL: https://modernizr.com

  • This is browser feature detection library which includes HTML5, CSS and JS features.
  • It runs its super fast feature detecting tests on page load and results of which can help in developing tailor made experiences.
  • It can be used with CSS as well as JS collectively or separately utilizing maximum availability of your browser. 

2. Underscore.js

Reference URL: http://underscorejs.org

  • Underscore.js provides a lightweight helper functions without extending any built-in objects.
  • It has more than 100 helper functions and goodies.

3. Backbone.js

Reference URL: http://backbonejs.org

  • Backbone.js is MVC JavaScript framework.
  • It connects Model, View and Collection easily with the existing API over a RESTful JSON interface and is pre-configured to sync with a RESTful API.