© Adam Notodikromo 2021
A. NotodikromoLearn Rails 6https://doi.org/10.1007/978-1-4842-6026-5_8

8. Places and Queues

Adam Notodikromo1 
(1)
Tokyo, Japan
 

In the previous chapters, we used vanilla JavaScript to manage the UI. Truth be told, that code was highly fragile; bugs are happy to slip in as our cool startup evolves. Of course, we don’t want that to happen.

In this chapter, you will learn how to integrate JavaScript frameworks seamlessly into our Rails app by using Webpacker. For those who are wondering, we will be using Vue.js for the task.

You will also learn how to build an API controller and how to serialize our data. Finally, you will learn how to run some code in the background using Active Job.

Enter Vue.js and Webpacker

It is difficult to ...

Get Learn Rails 6: Accelerated Web Development with Ruby on Rails now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.