News for hackers. Stuff that matters.
Re:Rails 7 Released by RileyJames on Wednesday December 15, 2021 @10:40PM (#29574515)
Just today I was helping a junior (php) developer get setup & started with ruby.

RVM, gems, bundler. Then onto rails. Upon first attempt to launch rails it choked on yarn requiring to install packages.

And then I had to go through node, npm/yarn, webpacker, rails is primarily the backend, webpacker manages the front end. And it all seemed needlessly complicated.

I love that rails have doubled down on the low-js direction. Progressive enhancement, the whole js ecosystem is there if/when you need. But until then KISS.

Re:Rails 7 Released by svacko on Thursday December 16, 2021 @07:12AM (#29577401)
As you can read in the Rails 7 announcement, the webpacker is history already. Also, you don't even need to have the node present with ESM. So all this complex stuff you mention won't be soon required.
Re:Rails 7 Released by RileyJames on Thursday December 16, 2021 @07:43PM (#29586162)
Yea I’m excited for it. What I’ve seen and used of stimulus & turbo is exactly the future I want to continue working with.