4 ms·
<button hx-post="/clicked" hx-swap="outerHTML"> You know, I see logic/"programming" inside of templates and I'm out, gave up that life many years ago and never
by embedding-shape 11mo ago
<button hx-post="/clicked" hx-swap="outerHTML">
You know, I see logic/"programming" inside of templates and I'm out, gave up that life many years ago and never have I been eager to go back to it.
No, I'll keep using hiccup and similar things that are just data and nothing more, no syntax, just functions and built-in data structures, then give me HTML as a string which consumers can do whatever with, and we're golden.
- recursivedoubts 11mo agohow do you feel about this mixing of control logic and display information: <a href=“/clicked”>click me</a>
- g947o 11mo agowe call that HTML standard, and (in principle) works in any browser without the need to use JavaScript.