by jwblackwell · 10y ago · 0 comments
I don't see any features of this site which should require javascript, so they should probably "practise what they preach".
What's the lazy reason for not rendering that before serving the html page.
1. Classify each token (whether this is building up an AST or doing something more fuzzy/clever is immaterial for this discussion); 2. Construct a DOM tree (HTML) that is styled (CSS).
Step 1 does not have to happen client-side at all. Step 2 doesn't require JavaScript at all.