Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: