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

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

Stimulus JS Twitter UI: Part 2 Discussion

20
General
Great content, as always.  An idea for another Stimulus screencast: reimplementthe 'Using VueJS for Nested Forms in Rails' series in Stimulus.
Michael Yagudaev replied

Realtime Group Chat with Rails [Revised] - Part 1 Discussion

7
General
Hi, does the revised version is build from scratch ? I noticed it seems like from the start of the video, you have created the project and created some models. Can I know which episodes should I wa...
Fixt Dev replied

Liking Posts Discussion

96
General
Learned a lot of new things through this post, thank you. Never knew how to properly write a route to a module or the proper architecture for that set up. Very useful stuff. Would have liked to s...
Someone 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

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

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

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

Stimulus Reflex not replacing element?

0
Rails
I have a view that has a search bar and a card deck. I'm trying to use stimulus reflect to search the card deck and for some reason my card deck is not re-rendering. Some of my view updated but t...

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

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

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...

Drag and Drop sortable lists with Rails & Stimulus JS Discussion

22
General
Chris, thank you so much for this! I was actually going through the old drag and drop tutorial yesterday and today to update it for Rails 6. I seem to be having an issue both with this tutorial an...
Reece Jones replied

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

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

Populate dropdowns based on selection with Stimulus JS

9
Javascript
This is a follow up question from [Populate dropdowns based on selection](https://gorails.com/forum/populate-dropdowns-based-on-selection) that I asked like... 3 years ago... and still haven't real...
Pete replied

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

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

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