Earlier quoted context omitted.
I don’t understand the issue - why was it reverted? Are there multiple ways to do pattern matching? Why?
This comment describes well. https://github.com/rails/rails/pull/45553#issuecomment-11795...
An Overview Of Upcoming Ruby on Rails 7.1 Features Part 1
51–60 of 132 posts
Re: An Overview Of Upcoming Ruby on Rails 7.1 Features Part 1
#52I was a devoted rails fan 10 years ago, but haven't looked back since full stack typescript. What's the general vibe on RoR nowadays?
I love TypeScript, but Rails has a wonderful ecosystem of libraries that just feels unbeatable for the backend. For some reason (hot take incoming) the JS community seems to hate working with each other and improving existing libraries. The Ruby community seems to rally around improving our libraries (gems) rather than reinventing them every year.
Re: An Overview Of Upcoming Ruby on Rails 7.1 Features Part 1
#53> Later in the year, Rails retired Webpacker Is Rails anti Typescript? It’s weird to see most other JS environments move to Typescript by default, while Rails now now ignores the ability to use it without jumping through hoops.
Have you not paid attention to the direction Rails is going? Hotwire (Rails' default front end) is all amount rendering HTML directly (not via JS) and using the absolute bare minimum amount of vanilla Javascript (with Stimulus). It's not React... So why would it need TypeScript's features and added complexity?
The whole point is using vanilla ES6 without a compilation step...
Re: An Overview Of Upcoming Ruby on Rails 7.1 Features Part 1
#541. Rails retired Webpacker [that] compiled and bundled JS. Import maps, Turbo and Stimulus [are now the] default options, replacing Webpacker, Turbolinks and UJS . How do these new tools compare with the old? Versus Webpack, Vite etc?
My impression is that there are two ways to use rails: 1. Your frontend js needs are pretty minimal and you don't want something approaching a single-page app. In this case, you lean into Turbo and Stimulus to have rails do most things for you that would previously have been done with some a heavy-weight react-based frontend. 2. Your frontend js needs are significant and you do want a single-page app. In this case, i…
Re: An Overview Of Upcoming Ruby on Rails 7.1 Features Part 1
#55Earlier quoted context omitted.
I love TypeScript, but Rails has a wonderful ecosystem of libraries that just feels unbeatable for the backend. For some reason (hot take incoming) the JS community seems to hate working with each other and improving existing libraries. The Ruby community seems to rally around improving our libraries (gems) rather than reinventing them every year.
I take it you’ve never tried to install nokogiri?
Re: An Overview Of Upcoming Ruby on Rails 7.1 Features Part 1
#56I was a devoted rails fan 10 years ago, but haven't looked back since full stack typescript. What's the general vibe on RoR nowadays?
Re: An Overview Of Upcoming Ruby on Rails 7.1 Features Part 1
#57Earlier quoted context omitted.
I love TypeScript, but Rails has a wonderful ecosystem of libraries that just feels unbeatable for the backend. For some reason (hot take incoming) the JS community seems to hate working with each other and improving existing libraries. The Ruby community seems to rally around improving our libraries (gems) rather than reinventing them every year.
I take it you’ve never tried to install nokogiri?
Re: An Overview Of Upcoming Ruby on Rails 7.1 Features Part 1
#58> Later in the year, Rails retired Webpacker Is Rails anti Typescript? It’s weird to see most other JS environments move to Typescript by default, while Rails now now ignores the ability to use it without jumping through hoops.
Re: An Overview Of Upcoming Ruby on Rails 7.1 Features Part 1
#59I was a devoted rails fan 10 years ago, but haven't looked back since full stack typescript. What's the general vibe on RoR nowadays?
At the backend side, it makes easy to build websites. However, the UI layer is a bit complex to integrate with common framework libraries like Vue and React. Although, I still use it in some projects :)
Maybe InertiaJS [0] would help.
Re: An Overview Of Upcoming Ruby on Rails 7.1 Features Part 1
#60I was a devoted rails fan 10 years ago, but haven't looked back since full stack typescript. What's the general vibe on RoR nowadays?