4 ms·
Using a javascript/typescript framework to build static sites is so common place now that I'd even go as far as saying it's the standard. Frankly, I hate worki
by Jenk 4y ago
Using a javascript/typescript framework to build static sites is so common place now that I'd even go as far as saying it's the standard.
Frankly, I hate working with raw HTML/CSS. It sucks. Using TSX is such a better developer experience. I'm much more productive in a nextjs app, even if it's just static, than I am with plain old markup.
- lanecwagner 4y agoThat's because you're looking at the wrong alternatives. check out Hugo
- Jenk 4y agoNot seen Hugo, but Htmx is looking interesting.
- toastal 4y agoIn the last few years I've moved away from JavaScript and frameworks in a lot of cases because writing raw HTML and CSS was not cumbersome, involved vastly simpler tooling, and didn't involve other folks needing to learn some obscure framework that may have gone out of fashion. HTML and CSS are here to stay and currently they serve their purpose very well. I don't agree with your take (J|T)SX obscure the HTML whose trench coat it's trying to wear with arbitrary rules that produce unexpected effects. If author HTML is considered a burden, I'm not sure how keeping something XML-like is going to make the ergonomics or readability better.
- Jenk 4y agoI'll take those arbitrary rules if it lets me use component-driven design unlike raw HTML/CSS does. Very much a worthwhile trade off.