Svyatoslav Kryukov

412 posts

Svyatoslav Kryukov banner
Svyatoslav Kryukov

Svyatoslav Kryukov

@skryukov_dev

Backend Engineer at @evilmartians

Katılım Nisan 2017
281 Takip Edilen842 Takipçiler
علي فاضل | Ali Fadel 🥛
@skryukov_dev @dhh "most basic configuration possible of popular bundlers" Isn't Vite one of the most popular 🤓 "I think vite is trying to do a lot" Maybe because a lot is needed to be done? I love the work done by 37signals and @dhh in general, but sometimes I feel they are holding Rails back.
English
1
0
1
211
Svyatoslav Kryukov
Svyatoslav Kryukov@skryukov_dev·
Ok, actually we can make Vite play nice with Propshaft. Just a simple plugin, and Vite with HMR and all the niceties of the ecosystem plays by Propshaft's rules. Could _this_ be `rails new -j vite`?
Svyatoslav Kryukov tweet media
English
3
1
34
2.1K
Svyatoslav Kryukov
Svyatoslav Kryukov@skryukov_dev·
@alihfadel I don't think we had a gem-less solution for Rails + Vite that plays by Propshaft's rules before. And @dhh rightfully rejected upstreaming vite-rails since it does too much. #issuecomment-961981357" target="_blank" rel="nofollow noopener">github.com/rails/jsbundli…
English
2
2
15
1.5K
Svyatoslav Kryukov retweetledi
Joe Tannenbaum
Joe Tannenbaum@joetannenbaum·
"The navigation model is actually inspired by Inertia. I don't know how many of you use Inertia with Laravel but it's actually a pretty cool model that has never been seen in the JS world." 🤯 youtu.be/Bp86buftbX8?si…
YouTube video
YouTube
English
4
11
140
13.1K
Svyatoslav Kryukov
Svyatoslav Kryukov@skryukov_dev·
@domster @vite_js Proxy is the biggest one - it fixes a lot of networking issues, both in terms of DX and performance. Also single config file (only Vite) and 4× smaller code footprint overall. Fewer things to break, easier to reason about. Might not worth migrating, but a better go-to solution.
English
1
0
0
68
Svyatoslav Kryukov
Svyatoslav Kryukov@skryukov_dev·
I stole another thing from @Laravel — rails_vite (name sucks, I know) Why? Thanks to Inertia 3, I dug into how Laravel's @vite_js integration actually works. And it clicked. vite_ruby always felt a bit like Webpacker. rails_vite is like jsbundling.
English
6
5
62
5.7K