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
This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects
Within an event handler, there are multiple methods to cancel event propagation, each with different semantics. event.preventDefault() Only prevents the...