Sorry, this video is for subscribers only.

Click here to subscribe!

Make Me One with Everything

If we’re going to load our CommonJS modules in any order—which we’re now able to do—we need to make sure that each module is only executed once. We implement a module cache to address that need, then make sure every module is executed at least once. When we’re done, everything works perfectly. All we have left is a bit of cleanup.

comments powered by Disqus