That said I wish it was easier to be able to pick a specific build of for example ruby like ruby-3.3.7-p123.
https://guides.rubyonrails.org/working_with_javascript_in_ra...
- Adding npm Packages with importmap-rails To add new packages to your import map-powered application, run the bin/importmap pin command from your terminal:
$ bin/importmap pin react react-dom
Then, import the package into application.js as usual:
import ReactDOM from "react-dom"
* Prototype
* Asset pipeline
* Webpacker
* Importmaps
https://guides.rubyonrails.org/working_with_javascript_in_ra...
- Adding npm Packages with importmap-rails To add new packages to your import map-powered application, run the bin/importmap pin command from your terminal:
$ bin/importmap pin react react-dom
Then, import the package into application.js as usual:
import ReactDOM from "react-dom"
I’ve been using rails for over 20 years and still love it but the JavaScript story has always been in flux in bad ways. I don’t like the turbo stuff or stimulus. Basically just want to be able to add some nice charts, and some enhancements like confirmation for links. Basically just build admins with it so the caching for partial html just isn’t part of the game. Looked at upgrading to rails 8 now but the javascript in last version of rails was fragmented and complicated, so looking to find a good way to do it in a standard way now, hopefully next version of rail’s doesn’t change everything again.
The Atkinson dithering makes the image appear overexposed/blown-out (not true to the original image).
couldn't help being cheeky...actually there are quite a few contributors.