Posted by Denny at 23:56 on Tue, 08 Oct 2019

Added Webpacker to the project today, to allow me to use some JavaScript twiddles. Specifically, I now have 'Are you sure?' messages for delete actions.

Early impressions of Webpacker are that it seems it feels a bit new and wobbly for Rails (vs. the more established Sprockets). Also it seems bizarrely huge, but I always grimace at the mount of stuff JavaScript package systems pull in to do minor front-end embellishment. If I were building proper whizbang client-side-rendering front-ends in Node.js like the cool kids then it wouldn't seem so excessive, I'm sure.

Tags: webpacker javascript

« i18n! Failed experiments »


No comments found