Keith Schacht’s Weblog

Subscribe

March 2025

🔗 Updating a rails view component with hotwire (#). This is a good pattern for wrapping a rails view partial with a light class to enable more easily updating them with Hotwire.

#permalink 03/04/25, 2:39 pm / Rails

🔗 How to import any JS library without a build system (#). I often come across an NPM module and want to import it into an app I’m building which does not make use of a javascript build. It’s quite tricky! This article breaks down the complete set of options for doing this. And when that fails we can bundle a single NPM module.

#permalink 03/31/25, 8:12 pm

2025 » March

MTWTFSS
     12
3456789
10111213141516
17181920212223
24252627282930
31