3 ms·
Having a different way of doing things for static HTML doesn’t seem simpler than just writing a JS function with no arguments. I suppose it’s a matter of taste
by hombre_fatal 4y ago
Having a different way of doing things for static HTML doesn’t seem simpler than just writing a JS function with no arguments.
I suppose it’s a matter of taste.
- pdimitar 4y ago"Just writing a JS function". You continue not getting it. That's an unnecessary overhead. Strictly speaking, you don't need it. If you can get away with not including it then you absolutely should skip it. You guys can take some lessons from the so called static site generators. They have the right idea. Also Svelte which kind of does something very similar (although it does compile things to more vanilla JS which I like because less frameworks and inclusions).