Hacker News new | ask | show | jobs
by trumbitta2 245 days ago
I can't say I like the server returning portions of HTML that need to match the HTML in the client, but I can see myself trying it in a monorepo and using some templating lib on both sides.

Let's say I'm intrigued and on the fence.

1 comments

I guess one thing that might be potentially problematic is that if you update the server while someone has the page still open you need to match their original templates version and not the new (potentially incompatible) one
Fair point, but we often do "fat morphs", i.e. patching the whole <body> element because this one isn't going anywhere.