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

I have been trying to work this out myself too. Would love to see some examples on how to address this.

The challenge seems to be that while the server side rendered bit would work fine - it could query a DB locally after authenticating a users cookie (for example)...

If the client routed to a page (not using the server rendering) - you would need to have duplicated code to handle how the client can fetch that data, as it cannot query the DB directly.



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

Search: