almokhtar PRO said over 4 years ago on Google Maps API with StimulusJS :
may i ask why stimulusJS not popular ? 
we will see in future any of your amazing tutorials including react or vue ... 
also i never saw a job offer including it !! 

David Kimura PRO said over 4 years ago on Google Maps API with StimulusJS :
  I think that StimulusJS was rather late to the party. I really like it because it is very light weight and doesn't change much between versions. I've been considering making a spin off of Drifting Ruby to focus on something like React specifically, but haven't worked through all of the logistics yet.

bigwheeler PRO said over 4 years ago on Google Maps API with StimulusJS :
Noooo not React! If you’re going to do that, do it for Stimulus or Vue. Maybe one of the reasons Stimulus hasn’t taken off is that there’s not a site like this to champion it and offer such a high level of educational resources. 

I know it’s selfish, but personally I can’t stand working with React. Vue and Stimulus work much closer to the way my brain works when I think about front end components. 

David Kimura PRO said over 4 years ago on Google Maps API with StimulusJS :
  I whole heartedly agree. It is my controversial opinion that React and Vue solves problems that Ruby on Rails does not have.

pitosalas said over 4 years ago on Google Maps API with StimulusJS :
Do you  have any good resources for integrating ActionCable with Stimulus? I am using Stimulus to create a map using the Google Maps Javascript API, and then I am making a post request to get all of the markers for that event upon initialization of the map. I would like to be able to see the marker instantly if the user creates a new model, without having to continuously make post requests.




David Kimura PRO said over 4 years ago on Google Maps API with StimulusJS :
 You might be able to take from this episode and piece things together. It uses ActionCable and Stimulus together along with RailsUJS and ActiveJob.  https://www.driftingruby.com/episodes/realtime-client-updates-from-background-jobs-with-stimulus


pitosalas said over 4 years ago on Google Maps API with StimulusJS :
Thanks!

Login to Comment