Using JavaScript in D8, and Intro to ES6 (new in 8.4 Core)

Todd Zebert

Slides: https://toddzebert.github.io/d8_js_fund_and_v84/

This session has two related parts.

The first:

Drupal 8 uses exclusively a "libraries" concept for loading JavaScript (and CSS, but not this session's focus). We'll cover how to define, manipulate and use libraries.
The second:

As of 8.4 (scheduled for Oct '17) Drupal Core will now be using ES6 for JavaScript, and AirBnB style guide v14.1 is the new baseline JavaScript coding standard for Core and Contrib.


The first part I'm repeating from my DrupalCamp LA session and my SANDcamp session. The second part will be an updated portion of my JavaScript Concepts session.

https://2017.badcamp.net/session/coding-development/intermediate/using-javascript-d8-and-intro-es6-new-84-core

Drupal is a registered trademark of Dries Buytaert.