Stimulus JS

Stimulus is a JavaScript framework with modest ambitions. It doesn’t seek to take over your entire front-end—in fact, it’s not concerned with rendering HTML at all. Instead, it’s designed to augment your HTML with just enough behavior to make it shine. Stimulus pairs beautifully with Turbolinks to provide a complete solution for fast, compelling applications with a minimal amount of effort.
  • 4hr 22min
  • 16 Episodes
  • 4hr 22min Remaining
4hr 22min Remaining
  1. Tracking Javascript Errors
    Play
    9:08

    #268 Nov 15, 2020

    Tracking errors on our server side is important, but we often forget about our client side errors. These can often be even more difficult to troubleshoot as there are many more variables at play. In this episode, we look at tracking the Javascript errors so that we can be notified of any issues our users experience.
    • 9min
    • 4
    • 6

  2. Organizing Stimulus Controllers
    Play
    11:54

    #267 Nov 8, 2020

    StimulusJS is great and works great with Ruby on Rails. However, through developer habits, we can complicate our controllers and make them hard to manage. In this episode, we look at making our Stimulus controllers more manageable.
    • 11min
    • 9
    • 0

  3. Deferred Content Loading
    Play
    10:07

    #265 Oct 25, 2020

    Learn to load slow content in the background so that your application still responds quickly while the heavy calculations are being done. Give quick responsiveness and optional polling to partials.
    • 10min
    • 10
    • 2

  4. StimulusJS, Active Storage and DropzoneJS
    Play
    14:01

    #263 Oct 11, 2020

    DropzoneJS is an open source library that provides drag’n’drop file uploads with image previews. It's lightweight, highly customizable and doesn't have any dependencies.
    • 14min
    • 5
    • 9

  5. Stimulus Javascript Framework
    Play
    21:59

    #112 Dec 31, 2017

    Used at Basecamp for some time, and recently open sourced to the public, Stimulus is a small Javascript Framework used to manipulate existing DOM elements on the page. This episode, we will dive into interacting with Stimulus and setting it up in a new Ruby on Rails application.
    • 21min
    • 25
    • 12

  6. Deeper Dive into StimulusJS
    Play
    32:11

    #152 Sep 23, 2018

    In this episode, we look at combining Rails UJS, nested routes, scopes and StimulusJS. A deep dive from the beginning to completion of multiple select boxes changing based on their selections.
    • 32min
    • 23
    • 6

  7. Polling with StimulusJS
    Play
    10:14

    #211 Oct 13, 2019

    Sometimes an old techniques with a modern twist can not only solve the problems at hand, but can also simplify the application's architecture.
    • 10min
    • 11
    • 4

  8. Saving Individual Attributes with StimulusJS
    Play
    14:31

    #189 May 19, 2019

    In this episode, we take a look at recreating a feature on Zoom's setting page where clicking a check box automatically saves the changed setting.
    • 14min
    • 21
    • 2

  9. Nested Forms from Scratch with StimulusJS
    Play
    16:54

    #186 May 5, 2019

    Using StimulusJS controllers, adding nested forms to a Rails application is easy and unobtrusive. In this episode, we look at an alternative way of creating nested forms without the Cocoon gem.
    • 16min
    • 14
    • 9

  10. Embedding Youtube Videos into Action Text with Stimulus
    Play
    18:57

    #243 May 24, 2020

    Creating attachments with Action Text can be difficult, but in this episode, we look at how we can create embedded attachments into Trix without needing a persisting the data on a separate model on our database.
    • 18min
    • 2
    • 2

  11. Reactive Applications with Stimulus Reflex
    Play
    16:30

    #209 Sep 29, 2019

    Create Reactive and Single Page Application like with no javascript or with Stimulus Controllers.
    • 16min
    • 13
    • 0

  12. Client Side Validation with StimulusJS
    Play
    18:59

    #207 Sep 15, 2019

    Give clients quick feedback on form validation errors with ValidateJS and StimulusJS.
    • 18min
    • 15
    • 5

  13. FullCalendar with StimulusJS
    Play
    15:23

    #250 Jul 12, 2020

    FullCalendar still remains to be one of the best Javascript calendar libraries and with the power of StimulusJS, it is easier than ever to interact with. In this episode, we look at implementing the latest version of FullCalendar (v5) in our Ruby on Rails application.
    • 15min
    • 8
    • 3

  14. Audio Streaming with Active Storage
    Play
    10:21

    #233 Mar 15, 2020

    Using StimulusJS and Active Storage, create a simple Audio Streaming service where users can play and stream audio content.
    • 10min
    • 3
    • 10

  15. Realtime Client Updates from Background Jobs with Stimulus
    Play
    23:30

    #190 May 26, 2019

    Using RailsUJS, ActiveJob, ActionCable and Stimulus, we create a realtime feedback for background jobs running to provide a better user experience.
    • 23min
    • 21
    • 0

  16. Google Maps API with StimulusJS
    Play
    17:14

    #236 Apr 5, 2020

    Add unobtrusive maps to your application using StimulusJS to tie in Google Maps Javascript API and Places API.
    • 17min
    • 15
    • 7