Effective Dependency Management in JavaScript - Hector Virgen





The interactive transcript could not be loaded.


Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Apr 30, 2015

At if(we), we’re committed to improving all aspects of our tech stack. This includes our client-side JavaScript, which consists of hundreds of thousands of lines of code across thousands of files.

As JavaScript projects grow, they tend to become difficult to manage if you’re not careful. We found ourselves running into common problems including code that was difficult to reuse or test, and code that broke when introduced in new pages.

As we explored the problems in more detail, we found the root cause was most often due to ineffective dependency management. For example, script A relies on script B that relies on script C, and somehow the dependency chain would break on some pages because script C didn’t get included properly.

To help solve this problem, we identified five traits of well-managed JavaScript to help guide us as we built new features and libraries.

This Ignite talk will walk through the five traits, including examples of the types of problems they help avoid.


When autoplay is enabled, a suggested video will automatically play next.

Up next

to add this to Watch Later

Add to

Loading playlists...