from Hacker News

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

by nej on 7/8/15, 11:06 PM with 17 comments

  • by benaiah on 7/9/15, 4:33 AM

        > > You seriously made another module loader?
        
        > Yeah. There are several reasons why:
        > To create a new-feeling environment that is clearly not node,
        > because you’re writing code that runs in node and IE9 and Chrome
        > etc. It shouldn’t feel like any old node.js module.
    
    Why shouldn't it feel like any old node.js module? Nearly all the work in JS packaging of late has been to abstract the differences so that we can use the well-established node packaging system on both ends. We're already able to do it with stuff like babel and browserify.
  • by vans on 7/9/15, 7:35 AM

    Pre-render on server side is the way to go, no more empty html skeletons taking a while to fulfill after the first request, and you still get the reactive style of modern web app.
  • by enahs-sf on 7/9/15, 4:42 AM

    given that your handle is nej, i'm assuming you know that skit means literally "shit" in swedish. men jag tycker den har är en faktiskt bra ide.
  • by pdkl95 on 7/9/15, 9:32 AM

    Thank you for actually serving up a proper web page (initial server-side rendering)!

    Using javascript to enhance the page to provide faster loading or other features is great, but it is important to have at least something on the page when javascript is not available.

  • by amelius on 7/9/15, 10:33 AM

    > 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?

  • by taylorhughes on 7/9/15, 3:47 PM

    Wow just saw this was on HN again — I was traveling yesterday. There was a fun discussion thread a few months ago here: https://news.ycombinator.com/item?id=9342133
  • by kellysutton on 7/9/15, 6:39 AM

    Looks neat. For those looking for this functionality in a more mature framework, check out Ember FastBoot: https://github.com/tildeio/ember-cli-fastboot
  • by Egregore on 7/9/15, 5:09 PM

    How is this framework similar/different with Meteor.js ?
  • by DaGardner on 7/9/15, 3:53 PM

    this might be cool until you have to debug some weird bug and do not know if it has to do with client or server code...
  • by curiousjorge on 7/9/15, 3:14 PM

    Two years ago I would've been excited but now I've developed a filter for anything with javascript and front end or framework in the same sentence if they are not backed by a major corporation, simply based on the reason that there have been so much abandonware in this landscape, I think even for Google it's been tough sell. I think that React is the way to do it but slow to adopt it especially because I'm so comfortable with jQuery and never had the need to invent new ways of doing things.