👨‍💻 Still enjoying Ruby and @vuejs, now @vite_js and @ilesjs

Joined February 2012
12 Photos and videos
Maximo Mussini retweeted
I created a Vite.js plugin: github.com/ermolaev/vite-plu… for faster HTML reloading in the browser using Hotwire Turbo (for Rails apps and beyond) instead of a full page refresh. It also supports HMR for Tailwind CSS. Inspired by (forked from) @MaximoMussini vite-plugin-full-reload.
3
5
877
Maximo Mussini retweeted
Why I think Vite (Ruby) is the only viable option (among available today) for Rails apps? It the only one that is capable* of surviving major framework upgrades, DHH mood swings and uncontrolled frontend tooling evolution. Vite is kinda meta builder: it relies on esbuild and rollup for dirty work. Whenever a new shiny frontend builder appears and overcomes esbuild (which is a great builder, for sure), Vite would switch under the hood without enforcing you to migrate yourself. Using Vite Rails instead of sprockets|propshaft importmap|jsbundling|cssbundling|tailwindcss-rails|esbuild|bun (pick your own combination) allows you to stay independent of Rails frontend “evolution”. More major versions covered, less painful upgrades. I switched to Vite ~3 years ago and forgot about asset pipeline stack upgrades. It works today in a similar fashion it worked back then.
Replying to @palkan_tula
I'm not using it as it's not standard Rails; vite gem requires several steps to configure. I'm currently using esbuild propshaft for projects that need JSX/TS, which works great. I believe that Vite uses esbuild behind the scenes. Why is Vite the "only viable" asset pipeline.
5
14
136
19,293
Maximo Mussini retweeted
30 May 2024
JS frameworks are just the better tradeoff for long-session productivity apps. Much higher upper-limit for the UX. And the DX is not as complicated as some anti-JS folks claim to be - reminder that there are easy ways to integrate Vite in Rails: vite-ruby.netlify.app/guide/…
12
36
525
69,681
Announcing oj_serializers v2.0 ⚡️ 🚀 Improved performance (20% to 40% faster) 🤩 Simplified API, easier to use 🛠 More configurable (transform keys, sort attributes) ✅ Backwards compatible github.com/ElMassimo/oj_seri…
2
5
27
1,964
Upgraded types_from_serializers to support oj_serializers v.2.0 ✨ 🤖 Automatically generate TypeScript ✅ Minimize bugs in the frontend 🕶 Infer native types from your SQL schema 🚀 Generated instantly on file changes #ruby #rails github.com/ElMassimo/types_f…
3
1,379
Maximo Mussini retweeted
6 Feb 2023
⚡️ Join @MaximoMussini to learn how @vite_js can improve your development workflow, how to use it in Ruby web applications, and how it compares to other tools that are available in @rails! ❤️ youtu.be/SpeKA9fA6gg
5
10
1,315
💎✨New Release✨💎 Happy to announce that Vite Ruby will now install @vitejs 4 by default. You can upgrade your #ruby and #rails projects by running: ⌨️ bin/vite upgrade
9 Dec 2022
⚡️ Vite 4 is out! From all of us on the Vite team, thanks a lot to everyone that contributed to Core, pushed improvements from your frameworks upstream, expanded the ever-growing plugin ecosystem, and triaged, tested, or helped others in our community 💜 vitejs.dev/blog/announcing-v…
2
15
Maximo Mussini retweeted
9 Dec 2022
✨ New Release ✨ 🏝 @ilesjs 0.9 now runs in @vite_js 4
2
18
My talk: Frontend Joy in Ruby on Rails at @ViteConf is about to start! Come watch! viteconf.org/live?talk=front…

5
5
18
Join me on the Discord channel to ask questions or chat about it: discord.com/channels/8040116…

So excited to be a part of ViteConf this year! 😃 If you've heard of @vite_js but haven't gotten around to trying it yet, this talk has got you covered! #vite #ruby #rails
27 Sep 2022
❤️ We're happy to announce @MaximoMussini, creator of vite-ruby.netlify.app/, as ViteConf's next speaker! Join Maximo as he explains how to bringing joy to your @rails experience with @vite_js! Join chat.vitejs.dev on Oct 11th to chat with Maximo and other speakers! 🙌
1
2
16
Maximo Mussini retweeted
22 Sep 2022
⚡️ Let's gather to welcome @patak_dev to the @ViteConf stage! Matias is going to take us on a tour of the ever-growing @vite_js Ecosystem 💚 Grab a free ticket at viteconf.org and join chat.vitejs.dev to discuss with speakers and the community on October 11-12!
1
4
23
Recently had a chat about TypesFromSerializers and JsFromRoutes on the @rubyrogues podcast 💎 Thanks for having me on the show, had a blast! #js #rails #ruby #codegen
18 Aug 2022
Check out this week's episode of #RubyRogues with @MaximoMussini #RUBY: How to Get Your Rails Models and Routes into Your Front End Framework rfr.bz/t4k8mgk rfr.bz/t4k8mgk
1
6
Maximo Mussini retweeted
Rails 7 is almost here, yet I have only discovered that in Rails 6.1 there is a new `draw` macro that allows you to break up `routes.rb` into multiple small files. 😅 guides.rubyonrails.org/routi…
1
2
10
See you in @ViteConf! Ruby and Rails will be there as well! viteconf.org/tickets/elmassi…

2
14
Congrats to the @vite_js team and its contributors! 🎉 Thanks to vite-ecosystem-ci and the great collaboration spirit of the Vite core team, I'm happy to announce that you can try Vite 3 in Vite Ruby projects today! 💎⚡️ vite-ruby.netlify.app/guide/…
13 Jul 2022
⚡️ Vite 3 is out! The Vite Team, working closely with maintainers of the ecosystem, is happy to announce the next @vite_js major! Thanks to everyone involved in making this release possible 🙌 vitejs.dev/blog/announcing-v…
2
1
10
Also happy to announce that the latest version of @ilesjs is running on @vite_js 3! 🏝⚡️
1
11
Maximo Mussini retweeted
13 Jul 2022
⚡️ Vite 3 is out! The Vite Team, working closely with maintainers of the ecosystem, is happy to announce the next @vite_js major! Thanks to everyone involved in making this release possible 🙌 vitejs.dev/blog/announcing-v…
27
513
2,175
✨💎 New Ruby Gem Alert! 💎✨ Automatic TypeScript interfaces from your Ruby serializers ✅ Minimize bugs in the frontend, fully typed 🤩 Infers native types from your SQL schema 🚀 Generated instantly on file changes 🛠 Fully configurable #ruby #rails github.com/ElMassimo/types_f…
1
2
9
See it in action in the example #rails app, using @inertiajs and @vuejs 3 github.com/ElMassimo/types_f…