3 ms·
Hmpl.js: Template language for fetching HTML from API
- arcbyte 2y agoHTML/Javascript need a lot of work to make it usable again, so I love seeing attempts at fixing pain points like this. That said, even after reading the Why HMPL section, I don't see why I would use this? I mean, the examples look like verbose, complicated alternatives of what HTMX does much more concisely and without me writing javascript. Bravo on getting the project here though! That's an accomplishment!
- xcombelle 2y agolooks like a security nightmare.
- iamleppert 2y agoThis is never going to pass a compliance review.
- daisydaisytts 2y ago…so just [jQuery.load](https://api.jquery.com/load/ https://api.jquery.com/load/) with some verbose templating? My 2000s-era developer self is so triggered. Please can we not go back to DHTML / AJAX? Snark aside, while I disagree with the premise I applaud your thinking out how to shoehorn fetch into a template language.