Blog
Tutorials, guides, and insights to help you become a better developer.
EJS, Handlebars, Pug and Nunjucks all do the same three things: tokenize, parse, compile. Build a real one — loops, conditionals, partials, escaping by default — and see exactly where HTML escaping stops protecting you.
AdminAugust 2, 202613 min read
A client-side router watches the URL, matches it against patterns, and calls a handler. Build one in 110 lines — params, wildcards, back/forward — and see the four decisions every router makes for you.
AdminAugust 2, 202612 min read