Installing third-party libraries is confusing for a lot of beginners, especially when they don’t know anything about webpack. But it isn’t hard once you understand how to do it. In this chapter, we will see how to install some of the most common JavaScript libraries. Along the way, we will explore some tips and tricks you can use to install any other library you want beyond the listed examples. Finally, we will see how to use the lazy loading method to import libraries on demand in order to optimize our application.
Welcome Isolation, Goodbye Global Variables
We have seen that in order to ...