Search Results for "stimulusreflex-basics"

Forum Threads

Reopen ActionCable after login?

4
Rails
Hey Folks, I'm currently using [Jumpstart](https://jumpstartrails.com/) and [Stimulus Reflex](https://gorails.com/episodes/stimulus-reflex-basics). After logging in, I am getting an error in the...
Marcus S replied

How to use Stimulus JS 2.0's new Values and CSS Classes APIs Discussion

5
General
Chris's teaching is above average. Congratulations for the great episode.
Lucius Choi replied

Updated to Ruby 3.1.2, now targets in Stimulus Controllers not working

1
Javascript
I am using Rails 6 and recently upgraded from Ruby 3.0.1 to 3.1.2. Since the upgrade for some reason, my reflexes are no longer working properly when invoked from stimulus controllers, as shown in ...
Greg S replied

How should I bundle stimulus_reflex with esbuild in Rails 7

3
Rails
When I use webpacker gem, it is so easy to install stimulus reflex using stimulus_reflex gem in Rails 6. But in Rails 7, some problems occurs as follows: ``` $ bundle add stimulus_reflex $ rails s...
Ole Torp replied

How to use Hotwire in Rails Discussion

86
General
Can you please provide the repository for this also?
Ahmad khatab replied

Knowing you're probably preparing some episodes on Hotwire, here are some questions

3
General
* how do you install it with Rails 6.1 and most common use case (webpack setup) * is Turbo a drop-in replacement for Turbolinks? * what would it take to replace Turbolinks with Turbo in existing (6...

How do you reference current_user with stimulus_reflex?

1
General
Trying to slightly build off the stimulus reflex dynamic forms checkbox lesson. I wanted to add the current_user id to the lastUpdateBy field when the checkbox is checked. I have not been able to g...
spacerobotTR replied

Stimulus reflex does not work at all in internet explorer 11?

0
Javascript
Stimulus reflex does not work at all in internet explorer 11? If the stimulus has the ability to trigger ie compatibility using polyfills, then I have not found an option for reflex. https://expo....
Alexey posted

Realtime browser updates with Cable Ready Discussion

9
General
Great episode. Just as a note to anybody watching this who might be wondering, cable_ready pairs perfectly well with Stimulus Reflex as well. You can simply include the cable_ready call in your *...
Joseph Clarke replied

Introduction to Stimulus Reflex Discussion

43
General
woooooo... this is sooooo cooool. Thanks Chris for all the good content you giving us 👏. You making likes Rails every days. Respect 🙏
Jason Eastwood replied

Rails with Stimulus Reflex and AnyCable too slow

0
Rails
Hi, I am using stimulus reflexes with AnyCable but in production, the site becomes really slow after spending 10-15 minutes on the same page doing multiple operations. But after refresh it works fi...
ahmadkamrans posted

Executing javascript code that's returned within a Stimulus Reflex morph

1
Gems / Libraries
I've got Stimulus Reflex up and running well, but was wondering if there's a way to have it execute javascript commands sent back in script tags within HTML rendered partials when they're added to ...
Tom Iwaniec replied
Solved

How to order stimulus reflex morph asc?

2
Javascript
I have a morph for stimulus reflex that updates a portion of the page when todos are created. What the customer would like to have happen is that when they create new todos they are added to the bo...

Stimuls Reflex

0
Rails
Hello Chris, I am trying to do the calculation of a multiplication inside a div, the calculation comes from the values that enter in 3 inputs that are inside a Rails form, I want to do this using ...
Víctor Soto posted

How to create a live countdown clock?

2
General
Hi all, We're creating an online auction which has a countdown clock on the show page of a listing. The timer counts down every second, just like this example: https://countingdownto.com/ I've bee...
Thomas Van Holder replied

Rails view_components

16
Rails
Are there any plans on covering view_components? It would be great to see a few episodes on using view_components + tailwind / bootstrap + stimulus & stimulus reflex. Maybe the twitter example...
William Cunningham replied

Stimulus Reflex Lifecycle events

2
Gems / Libraries
could check this gist? it's an app wich use Stimulus Reflex. It's about a pagination reflex, the thing is i need to hide the spinner when `afterReflex()` callback is executed, but sometimes it does...
keithanderson replied
Solved

Deploy Action Cable & Redis to production

0
Rails
I'm currently integrating Stimulus Reflex and Cable Ready in my application and want to deploy it to my production server. The guide here on how to deploy ActionCable to production seems very outda...
Maximilian Kirsch posted

Stimulus_Reflex Demo's - Populating Dropdowns from tables

3
Rails
So, I've spent about two days on this, Googling, watching many, many YouTube videos. So much that I'm on information overload - and obviously missing something. I've worked through the Stimulus.j...

Stimulus Reflex error

0
Gems / Libraries
I am getting the an error when following the 'Introduction To Stimulus Reflex video'. What would cause this and what are possible solutions? Uncaught Error: Cannot find module './application_contr...
William Jones posted