Dynamic import() into your Ember app

A screencast where we build an app that loads real data, lazily loads Highcharts on demand, and plots the data using Highcharts.

Dynamic import() into your Ember app

As of yesterday, ember-auto-import can use ECMA dynamic import() to lazily load any dependency into your Ember app (or addon).

To demonstrate how it works, here's a screencast where I build an app that fetches some real data from my city and plots it using Highcharts. The code for Highcharts is only loaded when needed, using dynamic import().

The demo app's source is available here.

Photo credit unsplash-logoGuillaume Bolduc