Re:Finding Relationships Between Ruby’s Top Packages and The...
by igravious on Friday October 21, 2022 @09:50AM
(#33287982)
I've been trying out Alpine instead of Vue/React/whatevs and I'm liking it.
Also, I'm using Propshaft instead of Hotwire
rails new --skip-hotwire -a propshaft
Re:Finding Relationships Between Ruby’s Top Packages and The...
by Alifatisk on Friday October 21, 2022 @07:26PM
(#33294033)
Isn't propshaft and hotwire two separate things?
Re:Finding Relationships Between Ruby’s Top Packages and The...
by igravious on Friday October 21, 2022 @09:56AM
(#33288029)
I've been trying out Alpine† instead of Vue/React/whatevs and I'm liking it.
Also, I'm using Propshaft couple with Importmap instead of Hotwire & Turborails and so on
mkdir foo
cd foo
bundle init
# edit Gemfile to set the Rails you want: main, edge, etc.
bundle
# plus whatever other options you normally choose when you run `new'
bundle exec rails new --skip-hotwire -a propshaft .
bundle install
bundle binstubs bundler
bin/bundle add importmap-rails
bin/rails importmap:install
bin/importmap pin @rails/ujs alpinejs bootstrap
What's simple_form btw, am I missing out on something wonderful?
Once I add bootstrap and simple_form, the amount of code I don't have to write in a Rails application is just incredible.
And yes, I've used other things on and off my entire career. React is a love/hate relationship. Happy to punt it when working on a small project.