These Rails apps are overpacking their JavaScript bundles
10-Sep-2020 1898
You might think dividing your JavaScript into multiple bundles will help improve page load performance. When done incorrectly with Webpacker, it's possible to make things worse.This mistake appears relatively common. As I'll share in this post, I've discovered several of my favorite Rails applications are making browsers download and parse more JavaScript than necessary even while attempting to send less.I believe Rails developers may think the mechanics of packaging JavaScript for the browsers work similarly in Webpacker as it does with the Rails asset pipeline. This assumption is fraught with peril!.
These Rails apps are overpacking their JavaScript bundles #ruby #rubydeveloper #rubyonrails #These #Rails #overpacking #their #JavaScript #bundles #javascript https://rubyonrails.ba/link/these-rails-apps-are-overpacking-their-javascript-bundles