Transitioning your Drupal 8 Site to ES6

Video

JavaScript had it’s biggest release since 1996 with ES6 (ECMA2015), and new features are being added with regular releases. Have you begun the process of transitioning your coding style on your Drupal sites?

In this session, we’ll look at several new features available in ES6, including new variable declarations, arrow functions, classes and modules. We will show you how they can drastically improve your code’s readability and speed up overall development with less code. We’ll also look at adapting a Drupal theme to use babel, webpack, and of course how to create Drupal behaviors using the updated JavaScript features.

You’ll leave this session knowing the key differences between ES5 and ES6, the benefits of updating your code to ES6, and ultimately feel more confident transitioning your coding style on your Drupal sites. You will also have a github repository to fork and use on a sandbox. 
 

Audience
Experience Level
Intermediate
Schedule Info
Conference Year
2018
Date / Time
Room
Room G1/G2
Status
Accepted
Session Track
Design, UX, and Accessibility
Supporting Documents