ha, I'm working on a dev-side version similar to this (mostly just for me, but hopefully publishable). I opted for an entirely pre-deplopyment build tool, where you just put
in your HTML, run the build and it outputs the filled in file somewhere else. I know its functionality is very similar to many web frameworks (e.g. React, handlebars) but it does one thing.
Nice, it works! I was a bit scared here because the querySelector() MDN docs say
> A string containing one or more selectors to match. This string must be a valid CSS selector string; if it isn't, a SyntaxError exception is thrown. I'll test it out. If this works good, we shave off 5 bytes towards a 176-byte snippet!
Comments (242) 68 threads
Earlier comments> A string containing one or more selectors to match. This string must be a valid CSS selector string; if it isn't, a SyntaxError exception is thrown.
I'll test it out. If this works good, we shave off 5 bytes towards a 176-byte snippet!
All comments shown.
Couldn't load more comments. Check your connection and try again.