Maximo Mussini

288 posts

Maximo Mussini banner
Maximo Mussini

Maximo Mussini

@MaximoMussini

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

Colonia del Sacramento Bergabung Şubat 2012
152 Mengikuti673 Pengikut
Ken Greeff
Ken Greeff@kennnG·
@MaximoMussini Just discovered this, amazing work. Are you still maintaining it?
English
1
0
1
73
Maximo Mussini
Maximo Mussini@MaximoMussini·
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_s…
English
2
5
27
2K
Maximo Mussini me-retweet
Ermolaev Andrey
Ermolaev Andrey@a_ermolaev0·
I created a Vite.js plugin: github.com/ermolaev/vite-… 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.
English
0
3
5
872
Maximo Mussini me-retweet
Vladimir Dementyev
Vladimir Dementyev@palkan_tula·
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.
miguel michelson@michelson

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

English
5
14
136
19.3K
Maximo Mussini me-retweet
Evan You
Evan You@evanyou·
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/rails.ht…
English
12
36
526
69.7K
Maximo Mussini
Maximo Mussini@MaximoMussini·
@owaiswiz @joeldrapper Thanks for sharing, that's what I use with Phlex: // vite.config.ts import reloadOnChange from 'vite-plugin-full-reload' export default defineConfig({ plugins: [ reloadOnChange([ 'app/views/components/**/*', ]), ] })
English
0
0
1
49
Owais
Owais@owaiswiz·
@joeldrapper (its from the author of vite_ruby)
English
1
0
0
32
Anthony Fu 🦋 @antfu.me
I can't think of any reasons you don't enforce dangling. I'm genuinely very curious about why.
English
9
0
10
6.9K
@immi.dev
@immi.dev@manufaktor·
Not sure if you can see from the video, as twitter butchered it. But basically after rendering the Vue template, the client side router takes over.
English
1
0
0
39
@immi.dev
@immi.dev@manufaktor·
Started integrating @vuejs into the beautiful @rails conventions, effectively making Vue what it should to be, per its name: the view layer Powered by @vite_js and vite-ruby from @MaximoMussini
English
1
0
2
99
Maximo Mussini
Maximo Mussini@MaximoMussini·
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/type…
English
0
0
3
1.4K
Vladimir Dementyev
Vladimir Dementyev@palkan_tula·
Then, I needed a way to add CSS (Tailwind) and JS to the app. For that, I decided to use Vite Ruby by @MaximoMussini. The existing vite-hanami plugin was built for Hanami v1.3 and is incompatible with v2.0. Though, it helped me to build a PoC: github.com/anycable/anyca…
English
2
0
2
208
Vladimir Dementyev
Vladimir Dementyev@palkan_tula·
When we with @kalashnikovisme started working on this post, we planned to release it as a case study: less code, more product, Rails, Hotwire, bla-bla. But then, we decided to make a twist and go off Rails and Google APIs—the challenge full of the joy of problem-solving...
AnyCable@any_cable

Did you know that AnyCable can be used without Rails? What about using it to handle non-ActionCable clients? Read the story of how we've built a phone call monitoring application with @hanamirb, @twilio and AnyCable-Go: evilmartians.com/chronicles/any…

English
1
3
13
5.1K
Maximo Mussini me-retweet
ViteConf
ViteConf@ViteConf·
⚡️ 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
YouTube video
YouTube
ViteConf tweet media
English
0
5
10
1.3K
Maximo Mussini me-retweet
îles
îles@ilesjs·
✨ New Release ✨ 🏝 @ilesjs 0.9 now runs in @vite_js 4
English
0
2
18
0
Maximo Mussini
Maximo Mussini@MaximoMussini·
@Eo9394u4vshdhne Hi Kacper! I'm using it with active record. See: #sql-attributes" target="_blank" rel="nofollow noopener">github.com/ElMassimo/type…
English
0
0
1
0
Kacper Rozdolski
Kacper Rozdolski@Eo9394u4vshdhne·
@MaximoMussini I was wondering, is your gem types_from_serializers configurable with ActiveRecord?
English
1
0
0
0
JLarky
JLarky@JLarky·
@MaximoMussini @ilesjs @nickemccurdy @reactjs @preactjs in what way it's not ideal? If my landing page is static and only after I navigate to /dashboard I download my react app? :) also, we had 7 years to understand that preact/compat is not the answer, otherwise, everyone would have used it already ¯\_(ツ)_/¯
English
2
0
1
0
JLarky
JLarky@JLarky·
Things are going pretty bad. It looks like if I start using next it will actually improve the performance :) trying out vite next :) Before next I did all the cool things like remix, astro, qwik and solid, but not having HMR is a deal breaker
English
6
0
10
0
Maximo Mussini
Maximo Mussini@MaximoMussini·
@ilesjs @JLarky @nickemccurdy @reactjs @preactjs Using a framework with a large bundle size is not ideal if your goal is to do partial hydration, but you do you 😄 As a reminder, preact/compat is great, and you can configure Vite so that you can keep typing `from 'react'`.
English
1
0
0
0
Maximo Mussini
Maximo Mussini@MaximoMussini·
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
ViteConf@ViteConf

❤️ 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! 🙌

English
1
2
16
0