Devchat.tv Episode Roundup

RR 420: Stimulus


Listen Later

Sponsors
  • Sentry use code “devchat” for $100 credit

  • Cloud 66 - Pain Free Rails Deployments Try Cloud 66 Rails for FREE & get $66 free credits with promo code RubyRogues

  • RedisGreen

    Panel
    • Charles Max Wood

    • Dave Kimura

    • Andrew Mason

      Episode Summary

      Today’s topic is the Stimulus library. Stimulus is actually a JavaScript framework and library, but it’s also built by Basecamp, so it works really well in Rails. There is a demand for rich client side interactions, and Stimulus fills in some of the gaps. The panelists talk about some of their experiences with Stimulus versus jQuery. They talk about different use cases for Stimulus, how it works, and how it can help your project. One of the main draws of Stimulus is that the amount of code needed to implement a feature with Stimulus is very small comparatively. Also, frameworks like React weren’t created for Rails, and so adding React to a Rails application can be quite painful. Stimulus follows the Rails philosophy to keep things simple and unobtrusive, so if you ever found that Stimulus was not a right fit for your application, extracting it would be a major overhaul.

      Links

      • Stimulus

      • Cocoon

      • React

      • Gatsby

      • Capybara

      • Cypress

      • Stimulus controllers

      • Building Something Real

      • Drifting Ruby episode

      • John Beatty Stimulus tutorial

      • jQuery

        Follow DevChat on Facebook and Twitter

        Picks

        Dave Kimura:

        • Raspberry Pie 4

          Charles Max Wood:

          • Women’s World Cup

          • Fox Sports

            Andrew Mason:

            • Surfing

            • Stimulus workshop at RailsConf

               

              ...more
              View all episodesView all episodes
              Download on the App Store

              Devchat.tv Episode RoundupBy Devchat.tv