Just like we use gems on the server, we use third party JavaScript libraries in the browser. These typically provide...
In a web application you often need to move data between the client (HTML, Javascript) and the server (Ruby, Rails...
Rails ships with two separate build pipelines: Sprockets ("asset pipeline") and Webpacker. Webpacker has many more moving parts, but allows...
Best results in other decks
Code splitting is a feature of esbuild that can keep huge libraries out of the main bundle. How code splitting...
Jasmine specs for the frontend often need some DOM elements to work with. Because creating them is such a common...