News for hackers. Stuff that matters.
Re:Alpine.js Magic Helpers Library by jackconsidine on Saturday February 13, 2021 @11:27PM (#26129683)
Sure! Basically we had a thorny problem that needed to be solved on the frontend- users would be picking a plan, adding a payment, and possibly applying a promo code. JS is a prerequisite for Stripe payment collection and in general this solution would have been a non-starter in a backend template. But this was the only such page in the application, so it really felt like overkill to integrate an SPA like Vue or React. Vue's drop-in CDN is close, but there's still some setup boilerplate that was nice to do without.

There are no comments on this comment yet.