Sapper.js

Languages and libraries

web application framework

SHOW HN2018

410points
209comments
#40of 2,155 in 2018
Top 2%of 2018 by points

How HN took it

MixedNo clear lean

10 positive, 36 neutral or asking, 4 mixed, 40 critical, out of 90 comments about the project. Thread score -0.31.

Idea: 2 for, 21 againstPerformance: 4 for, 9 againstDesign: 1 for, 7 againstExecution: 1 for, 3 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Svelte's compile-to-JS approach and small payloads look promising

    From 2 comments
    • I've been following Rich's work on Rollup, Svelte and now Sapper with interest and great awe. I truly believe he's onto something. At the same time, if I were designing something…
      skrebbel on HN
    • How many of you actually built a React/Redux stack SPA that actually came anywhere near what Sapper offers? The file size problem is underrated. Not everybody walks around with…
      pwaai on HN
  • Fast navigation compared with the HN clone

    From 2 comments
    • Ultimately, the proof is in the pudding. Which is faster, when you start navigating around? * https://news.ycombinator.com/item?id=16052558 *…
      rich_harris on HN
    • What about when you start clicking the links in the nav, or opening other stories and profile pages? As far as I can see, the Sapper version blows the original out of the water.
      rich_harris on HN

Objections

  • Universal (shared server and client) code is a flawed premise

    From 2 comments
    • I think this premise is wrong: > 2. As a corollary, your app's codebase should be universal — write once for server and client This is a mistake a lot of developers make. The…
      Touche on HN
    • Isomorphic frameworks are a bad idea. I'm convinced that any attempt at making a single general-purpose web application framework will fail. I've seen it happen too many times…
      cryptica on HN
  • Unclear what problem it solves versus existing frameworks

    From 1 comment
    • I've used many web frameworks over the years and I really wanted to like this Sapper technology, but for the life of me I just don't understand what problem it's trying to solve.…
      aspiringuzer on HN
  • Pre-1.0 software with rough edges

    From 2 comments
    • > You find that you will be at the top of the page as it re-renders. You lose the place you were scrolled to. What browser is that happening in? In Chrome it works correctly —…
      rich_harris on HN
    • It's configurable. Add rel=prefetch to an <a> element and you'll get that behaviour; don't, and you won't. Since the links are small, mousing over them tends to suggest you…
      rich_harris on HN

Requests

  • TypeScript support in components

    From 1 comment
    • I've been following Rich's work on Rollup, Svelte and now Sapper with interest and great awe. I truly believe he's onto something. At the same time, if I were designing something…
      skrebbel on HN
  • Rollup support for bundling

    From 1 comment
    • Curious: why use Webpack rather than your own and IMHO much superior bundler, Rollup? I’m excited to try this more but I have mixed feelings about Svelte. The concept is…
      tobr on HN
  • Streaming SSR and prefetching of dynamic data

    From 1 comment
    • Some bullet points are missing from the “perfect framework” list: 1. SSR must support streaming 2. SSR must work in a service worker (so in fact you have 3 targets: server,…
      deno on HN

Questions

  • Will it have long-term community support and hiring pool

    From 1 comment
    • As always, my main concern with this is traction. Will this be well supported, with a good community, 4 years down the line? I know React will, just because of the massive…
      Tankenstein on HN
  • Does SSR still matter for SEO

    From 1 comment
    • Question: > 1. It should do server-side rendering, for fast initial loads and no caveats around SEO Is server-side rendering still an issue for SEO? Don't major search engines…
      kiernanmcgowan on HN

Alternatives named

  • React with Next.js

    From 2 comments
    • Is there any way to use Sapper.js with React, Vue or anything framework? I find the premise behind Sapper interesting, but I just don't see the appeal of Svelte, where they are…
      jitlerr on HN
    • Svelte is the premise behind Sapper. If you want to use React, use Next; if you want to use Vue, use Nuxt; if you want that 7kb Hello World (instead of Next's 204kb or Nuxt's…
      rich_harris on HN
  • Vue with Nuxt

    From 1 comment
    • Svelte is the premise behind Sapper. If you want to use React, use Next; if you want to use Vue, use Nuxt; if you want that 7kb Hello World (instead of Next's 204kb or Nuxt's…
      rich_harris on HN
  • Marko

    From 1 comment
    • Hi Rich, I notice you mention Marko. That was my first thought when checking out Svelte today - Marko uses somewhat similar approach, and thus brings somewhat similar benefits.…
      fineline on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/16052558)