Writing a TodoMVC app with vanilla js in 2022

Oct 20, 2023


took a shot at coding TodoMVC with modern (ES6+), vanilla JavaScript, and it only took ~170 lines of code and just over an hour! Compare this to the old/official TodoMVC vanilla JS solution, which has over 900 lines of code. An 80%+ reduction in code! I ❤️ the new state of JavaScript.

A nice demonstration of how far you can go by really leveraging the DOM and browser native JS facilities. Lovely code can be found here, with several different flavors of technique

↑ up