4 ms·
> Featuring nearly 100% shared server and client-side code If the code can run on the client as well as on the server, does this mean the client has direct dat
by amelius 11y ago
> Featuring nearly 100% shared server and client-side code
If the code can run on the client as well as on the server, does this mean the client has direct database access?
How well does that work out for the number of required round-trips?
- taylorhughes 11y agothe skit frontend abstracts only a few things for server- and client-side code: http requests, cookies and redirects. so you write a REST API client in JS and populate the initial page state with it, and when you wake up in the browser you don't have to make any more requests (until the user does something).