Comparing Rails 7 Import Maps, bundled JS with ESBuild, and API-only frontend setups

Опубликовано: 30 Ноябрь 2024
на канале: Winston Codes On
3,365
117

Please support my work on Patreon!
  / winstonkotzan  

Tip me in BTC! Bitcoin Address: 13FKUusPH1UPvgSkoQRRy6hEg4hyMqKzLS

0:00 Rails 7 now offers 3 ways to do frontend
1:19 Option 1: Import Maps
2:40 Import Maps reminds me of JQuery integration
3:54 The big limitations of Import Maps
5:14 Option 2: JSBundling for Rails (e.g. ESBuild)
6:23 Webpack vs Webpacker
7:03 ESBuild (bundler) pros/cons
8:05 Option 3: Rails as API only setup
9:30 Disadvantage of Rails API-only
10:24 Summary of the 3 ways to do frontend with Rails


Outtro Music:
CO.AG - Escape the Apex
   • Escape the Apex -  Futuristic Sci-fi ...