Introduction to Stimulus Reflex

April 19, 2020

Track your progress

Sign in to track your progress and access subscription-only lessons.

Log In

Your Teacher

Hi, I'm Chris. I'm the creator of GoRails, Hatchbox.io and Jumpstart. I spend my time creating tutorials and tools to help Ruby on Rails developers build apps better and faster.

About This Episode

Stimulus Reflex is one of the coolest new libraries out there. It can update the browser in realtime and allow you to build reactive applications without any Javascript. It's awesome.

Notes

Ever heard of Phoenix LiveView and wished you had it in Rails? Wait no longer.

Stimulus Reflex is a library for creating realtime, reactive apps in Rails with no Javascript. It keeps track of the action that was used to render your view and uses websockets to re-render the view. It uses DOM diffing to update the DOM so the whole view isn't refreshed.

With all of these features combined, you end up with an extremely interesting approach to building reactive applications in Rails.

Resources

Want to stay up-to-date with Ruby on Rails?

Join 82,329+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.