Skip to content

Comment on Skit: A pure JavaScript front end for building better web clients

Comments

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?

the 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).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.