4 ms·
Less JS is always better, but if you're using Intercooler.js, are you really creating an app with "zero lines of JS"?
by Porthos9K 7y ago
Less JS is always better, but if you're using Intercooler.js, are you really creating an app with "zero lines of JS"?
- adamstep 7y agoIt's true we include Intercooler.js and jQuery in our web app. What I meant is that as developers working on our web app, we don't need to write JS to implement new features. All of the logic happens in the Django codebase.
- Porthos9K 7y agoYou don't have to write any JS at all to leverage Intercooler.js and JQuery? At least Milady de Winter had the courtesy to be attractive when she tried to bullshit me and my buddies back in the day.
- adamstep 7y agoThat's right, check out https://intercoolerjs.org/docs.html https://intercoolerjs.org/docs.html for a primer on how it works. Interactions and AJAX requests are declared using HTML attributes, the responses are server-rendered and swapped on the frontend.