Live previews with Rails and StimulusReflex

This morning I read Live previews with Rails and Stimulus 2, a post which compares the experience of implementing a text preview feature using server-rendered code. The author choose to use a "pure Ajax" approach with Stimulus, as well as what the same project would look like using Turbo Frames.This post will present a 3rd option: StimulusReflex. The full source for this example is available on Github. Don't forget to change to the previews branch!.
Live previews with Rails and StimulusReflex #ruby #rubydeveloper #rubyonrails #live #stimulusreflex https://rubyonrails.ba/single/live-previews-with-rails-and-stimulusreflex

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles