Two Drag and Drop video tutorials which really help show how interactive Rails/HOTWire/Stimulus can be with a simple JavaScript controller. Client side: https://t.co/MImg2i2K36 Server side: https://t.co/BJnkylp0F0 Original post: https://t.co/9XaWtj8pdt
Apparently, server-side frameworks are not allowed to have client state (which most apps have, since forms are client state) nor do DOM manipulations, even if you have abstractions for syncing them.
This makes as much sense as me asking most SPAs out there to not use a server.
There is a lot of talk about modals in Rails, and this tutorial shows you how with some Stimulus sprinkles, you can have very interactive modals. Enjoy!
https://t.co/o5bnR2P4qk
Longevity with a company or project is critical because it forces you to live with your own technical decisions, for better or worse.
Be cognizant and wary of tech “influencers” that haven’t had to live with the results of their own poor judgement — i.e. those who jump from one shiny thing to the next with dizzying speed.
—
I’m reminded of a story about Franklin Roosevelt, whose leadership was crucial to the Allied victory in WWII.
He was known for his ability to inspire and motivate others. Once during the war, Roosevelt reassured an aircraft mechanic who made a serious error that nearly caused Roosevelt’s plane to crash. The mechanic was understandably terrified, fearing he would be punished for the mistake. Instead, Roosevelt responded with support and told him that he was the only mechanic he wanted working on his plane in the future. He knew the mechanic would be extra diligent after learning from the experience.
—
It takes staying power to rebuild confidence after our mistakes and poor judgement, but this is how wisdom is forged. If you haven’t been with a project, team, or company long enough to live with some mistakes, I’d encourage you to hang in there.
Be wary of “influencers” peddling the latest “hot” thing if they haven’t had to live with the pain of their own bad advice… especially if their paycheck depends on selling you the “hot” new thing.
Adding an animating loading status will help give the feeling of immediacy and “a lot of work is happening in the background” without the frustration that the page is stuck. Here's a video tutorial showing how you can get that interactivity with Turbo!
https://t.co/WibnK6ICA8
hello friend!
want some low hanging fruit to start your day?
rate limit the following to 3 per hour:
sign ups
forgot password attempts
team invites
any form that sends email on submission.
+ remove all personalization (name, etc) from them.
future self will thank you ᡣ𐭩
With Headless UI 2.0, we explore how you can convert the react switch component over to Stimulus, and we put the Stimulus Outlet API to work.
https://t.co/wXxDZMW7io
https://t.co/WvboAKzoTG
We can use HOTWire to filter a list. Did you know you can animate in/out those items with some Stimulus sprinkles?
https://t.co/jU9vpUi2Ci
https://t.co/SgRNNhfFLW
When we have a long list of Todos, sometimes we want to filter them by name. We can easily do this using Turbo’s morphing and a Stimulus controller to update the page from the server. Here's my take on filtering data with HOTWire!
https://t.co/w1JborAb41
📢
The time has come. I am releasing the first ever book on Kamal deployment tool Kamal Handbook.
20 chapters of awesome content + plenty of drawings to visualize the concepts.
Foreword by Donal McBreen, Lead Programmer at 37signals.
https://t.co/w6FWDzHCVE