I definitely want to see more about Stimulus Reflex!
@GorailsTV4 жыл бұрын
You got it!
@oli20164 жыл бұрын
I've been reading about Pheonix live view and Rails Stimulus Reflex over the past couple of days. It's pretty exciting, it seems like a really elegant way to have reactive apps. I've always thought the huge amount of code on the front-end doesn't seem quite right.
@dougson_2 жыл бұрын
Your channel is a gem! I've learn good stuffs about stimulus reflex. Thank you! Your vim setup is awesome, and If you don't mind, can you share how you got that working?
@GorailsTV2 жыл бұрын
I used to use a thing called Janus for Vim but now I use a bunch of plugins. You can find them in my dotfiles repo. GitHub.com/excid3/dotfiles
@dougson_2 жыл бұрын
I appreciate the reply! Thanks a lot
@prophetjamz944 жыл бұрын
I JUST had to do some AJAX code on a project for work... You sir are a hero
@cartervisuals4 жыл бұрын
More? Silly question... of course we want more.
@jeancarloschechnner12134 жыл бұрын
Cool, I hope you make more videos about stimulus reflex, Thanks
@GorailsTV4 жыл бұрын
Absolutely will do
@sethtucker89634 жыл бұрын
Just worked this into a production project of mine. Wasn't exactly as easy as this demo was, but it sure beat writing all my own javascript for dynamically updating small partials on the page or dynamically changing data in modal windows.
@GorailsTV4 жыл бұрын
Yeah! And cable ready should make a lot of those nuances easier. I'm making a new Trello clone using it and it's interesting to see the different approaches and mindset shift.
@burmashave4 жыл бұрын
Would love to see more on this. The question I (always) have is: how well does it play with turbolinks?
@GorailsTV4 жыл бұрын
Perfectly out of the box because it uses stimulus
@jigarbhatt78904 жыл бұрын
Stimulus Reflex is awesome. Great explaination.
@ibjacked4 жыл бұрын
This looks really cool! Wouldn't replacing the entire dom introduce a noticeable redraw on anything more than a super simple page?
@GorailsTV4 жыл бұрын
It is Dom diffed so only the parts that changed will be updated
@ibjacked4 жыл бұрын
@@GorailsTV Ok, ok, very cool! Gonna have to check this out :)
@alexggk4 жыл бұрын
Yesterday I started building a shopping list application and I was thinking about how to save bought items and today you put this video on youtube, nice :) thank you
@GorailsTV4 жыл бұрын
Perfect timing!
@nandasuhendra34954 жыл бұрын
its very amazing, i wanna try it on my project
@lucasarantes90284 жыл бұрын
Great video! I was wondering if it's possible to trigger an update on that page when someone else, in a different browser, adds a todo, is it?
@GorailsTV4 жыл бұрын
I think you'd have to use cable ready for that. Don't think there's anything in stimulus reflex itself for it.
@LuisCarlosHernandezMacias3 жыл бұрын
Hi, just found this and it looks amazing. But I got a question, do you see HotWire and stimulusReflex living together in the same project?
@GorailsTV3 жыл бұрын
They definitely can. I'd recommend trying to build everything you can. With Hotwire first and then jump into reflex as needed.
@GNUinos4 жыл бұрын
Great! I love Stimulus Reflex!
@hellosub014 жыл бұрын
Is it possible to use Google MAP API like Places or Static map in Stumulus Reflex?
@GorailsTV4 жыл бұрын
Yep, check out the episode I did on it recently. gorails.com/episodes/google-maps-places-autocomplete-with-rails
@hellosub014 жыл бұрын
@@GorailsTV Thank you for the reply. I watched that episode like 5 times which was awesome. However, what I asked was about Stimulus Reflex not about Stimulus js. I just want to know if Google MAP API can be implemented without Javascript at least on the face of it. BTW, I am a big fan of yours. Thanks.
@carlosramseyer46174 жыл бұрын
@@hellosub01 Hi, take a look at this, it might help you meetandrearocca.com/blog/reactive-map-with-rails-stimulus-reflex-and-mapbox/
@skalippanbalippan69724 жыл бұрын
is there is a way to debug stimulus?
@bliaxiong64394 жыл бұрын
is that a ninefold t-shirt?...lol, i have one of those!!!
@GorailsTV4 жыл бұрын
Hahaha yes it is! I’ve got two of them. 🤓
@MatthewKennedyUK4 жыл бұрын
What’s the difference between Stimulus JS and Stimulus Reflex?
@GorailsTV4 жыл бұрын
Stimulus is the foundation and is just a Javascript library. Reflex uses Stimulus to refresh the page using ActionCable.
@alexggk4 жыл бұрын
Do I need Redis if I want to deploy an application that uses Stimulus reflex on production? Some functionality does not work.
@sethtucker89634 жыл бұрын
Yes. I was using Postgres's pub/sub adapter for ActionCable, but it looks like the payloads that StimulusReflex sends are too large, so the 'reflexes' don't end up being fully executed
@owlboom64584 жыл бұрын
@@sethtucker8963 There is 8k limit size for data payload in postgresql subpub ac adapter...
@ministerstein4 жыл бұрын
What is the difference between Stimulus Reflex and turbolinks?
@GorailsTV4 жыл бұрын
Totally different. Turbolinks intercepts links and makes Ajax requests to navigate to another page faster. Stimulus Reflex can listen to any JavaScript event and uses websockets to update the page but does no navigation.
@ministerstein4 жыл бұрын
@@GorailsTV Ah, I see. Thanks :)
@elisson3574 жыл бұрын
Impressive!
@vhuerta4 жыл бұрын
So know we need to learn this weird reflex syntax in order to avoid learn js, cool