News for hackers. Stuff that matters.
Re:Where is Ruby Headed in 2021? by scrose on Friday November 19, 2021 @12:15AM (#29274059)
> I’m sad about the move to mounds of JavaScript. Nothing can match the productivity of simple_form and bootstrap.

You might like some of the recent Rails 7 previews. I believe they’re removing Webpack out of the box and trying to simplify things on that end[0].

[0] https://weblog.rubyonrails.org/2021/9/15/Rails-7-0-alpha-1-r...

Re:Where is Ruby Headed in 2021? by clairity on Friday November 19, 2021 @02:15AM (#29274632)
to me, this is what makes the upcoming rails 7 release really exciting: no more node, npm, webpack, & yarn! all that js tooling complexity thrown right out the window, replaced with the much simpler set of es6 modules, turbo & stimulus (and maybe strada too).
Re:Where is Ruby Headed in 2021? by Lio on Friday November 19, 2021 @05:04AM (#29275554)
There seem to a lot of ruby pieces falling into place for Rails 7.

The Achilles Heel of Hotwire apps has previously been the low number of supported websocket connections and high memory usage when using ActionCable and Puma but I have high hopes that Falcon[1] will take care of that.

That along with Github's View Components[2] and Tailwind make me really please with the way Rails is heading right now.

1. https://github.com/socketry/falcon

2. https://github.com/github/view_component

Re:Where is Ruby Headed in 2021? by clairity on Friday November 19, 2021 @02:15PM (#29281058)
yes, websocket connections/memory use was a problem, will have to take a look at falcon.

i'm personally not a fan of tailwind (or bootstrap) for being overly/cryptically verbose, but i understand why it's popular when coupled with view components, which do seem useful.