Hacker News, built with Sapper
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cypress
src
static
.gitignore
.travis.yml
README.md
appveyor.yml
cypress.json
package.json
rollup.config.js
yarn.lock

README.md

sapper-hacker-news

Testing ground for sapper, a work-in-progress app development framework based on Svelte.

yarn
yarn run dev

...then navigate to localhost:3000.

Or to run in production mode, yarn start.

Lots still to do

Some of these are Svelte things, some of these are Sapper things:

  • Need a declarative way to set the document title on both client and server
  • Preloading, on server and client, to avoid the flash of unfetched content
  • Critical CSS
  • Sapper doesn't currently watch the routes folder, so you have to keep restarting the server. Also, webpack only runs once
  • Service worker
  • Build optimised production version