Hopefully, you had a lot of fun creating memes and sharing them with your friends! You successfully built a Meme Creator in the previous project using HTML5 canvas. You also used flexbox to design the page layout and learned a few things regarding ES6 modules.
The most important part of the previous chapter was the development environment we created with Webpack. It lets us develop applications faster with HotModuleReplacement, create an optimized production build with single file assets and reduced code size, and also hides the original source code from the user, while we can use source maps to debug the original code.
Now that we have module support, we can use it to create modular functions, which will allow us to write reusable code that can be used across different parts of the project or can also be used with a different project. In this chapter, you...