In the previous article, we saw what Webpacker is and how Rails 6 has integrated it. In this article, we will understand how to use the packs. A new Rails 6 app creates following files under app/javascript, the new destination for writing our JavaScript code. Projects/scratch/better_hn