zlacker

[return to "Please disable JavaScript to view this site"]
1. enw+Yv[view] [source] 2020-11-29 01:51:09
>>abused+(OP)
I’d love to get rid of JS for my personal sites, but I know of no clean and simple way to render dynamic content otherwise. Server-side rendering seems a bit messy. I want a clean REST API separate from the UI.

How can I generate pages with dynamic content easily? Ideally with absolute minimal dependencies.

◧◩
2. slmjkd+bL[view] [source] 2020-11-29 05:52:26
>>enw+Yv
How is server-side rendering messy? It's just putting html strings together based on data, no frameworks or libraries needed.
◧◩◪
3. enw+fO[view] [source] 2020-11-29 06:50:36
>>slmjkd+bL
That's what I mean. It feels much messier than JSX, where "putting strings together" is a clean first-class citizen.

With SSR, you need some component that's aware of every change, and that triggers those re-renders at sensible times (every render takes server resources). This all feels messy, compared to rendering just-in-time on the client-side.

[go to top]