DEV Community

Resist Exploding Complexity

Ricardo Lopes on February 04, 2024

Building web applications seems to be getting more and more complex. Abstractions upon abstractions, and fixes for problems caused by fixes for oth...
Collapse
 
efpage profile image
Eckehard

Why do you use HTML to build the DOM? If you use one of the JStoDOM libΒ΄s like VanJS or DML things might be much easier. See a todo-example here

Collapse
 
rplopes profile image
Ricardo Lopes

Maybe. This exercise was more about showing how it's possible to build things using the most basic primitives, not necessarily how to build them the easiest way (which is more context-dependent). Just like on the backend I'm using Node.js's native http lib, which is too verbose IMO and could probably be replaced with an easy to use npm package.