2 ms·
I'm missing a bit "if you have to use javascript, use vanilla javascript where possible" here. HTML attributes are no silver bullet. You can still have a bloat
by xg15 3y ago
I'm missing a bit "if you have to use javascript, use vanilla javascript where possible" here.
HTML attributes are no silver bullet. You can still have a bloated framework that puts some ill-fitting, homegrown data model over your code and drowns the codebase in "magic", even if all the interaction with that magic is through HTML elements and attributes.
Generally, I think there is lots of good advice here, but I don't really understand the "messianic" attitude of the HTMX crowd. Why all the effort to actively discourage any other approach?