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

Why are you writing the same view twice?
 help



Once for SSR, once for client-side; for each entry view.

I think you're holding it wrong. I've never heard anyone doing this. Why?

I'm not sure, I just inherited it. But there's some things like analytics that can only really run in the browser so that might be why.



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

Search: