Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vnglst authored May 16, 2020
1 parent 8225c89 commit f688394
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,15 @@ yarn export
git push # 😸
```

## Conclusions about sapper and svelte
## About Sapper and Svelte

Needs some polishing here and there (lots of bug fixes with every new version) but in general it's pretty cool. Less code & a faster user experience. Built-in animations are a big win (always a pain with React) and the routing solution that sappers offers (also for SPA's) is a godsend compared to React Router.
Needs some polishing here and there (lots of bug fixes with every new version) but in general it's pretty cool. Less code & a faster user experience. Built-in animations are a big win (always a pain with React) and the routing solution that Sapper offers (also for SPA's) is a godsend compared to React Router.

Still figering out svelte's state management solution, which is an improvement on Redux, but I also ran into some gotcha's.
I think it's very hard to beat Next.js' developer experience. The Next team has been really killing it with new features lately. So I think Sappers appeal comes mainly from... Svelte 😆.

But there are a few things I like: you can just use <a href=... and it (more of less) just works. No need for special <Link to /> components. Code splittings works well, and with Svelte being so small, you end up with tiny bundle sizes. However I did have to add/create a loader myself for when the Javascript was being loading (it's the blue top bar). This seems like something the framework should add add out of the box, otherwise users on slow connections might be wondering why their click on a link doesn't do anything.

Developing with Service Workers turned on (i.e. in dev mode) really works well with Sapper too, not sure how they're doing that!

## PWA tips

Expand Down

0 comments on commit f688394

Please sign in to comment.