Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

What is missing in Sapper when compared to Gatsbyjs for JAM stack? #1093

Open
kaushalyap opened this issue Feb 19, 2020 · 15 comments
Open

What is missing in Sapper when compared to Gatsbyjs for JAM stack? #1093

kaushalyap opened this issue Feb 19, 2020 · 15 comments
Labels

Comments

@kaushalyap
Copy link

kaushalyap commented Feb 19, 2020

I hope someone create a checklist of what is missing in Sapper when compared Gatsbyjs for JAM stack in order to keep track of Sappers progress.

@andriijas
Copy link

andriijas commented Feb 19, 2020

I agree. Something like gatsby (react) or Gridsome (vue) for svelte would make it really interesting. I like the idea of hooking up data with plugins (or building my own), a graphql layer, generate static html and adding dynamic content on top where needed. And if that dynamic part is precompiled without any runtime library. Well then Im in cloud heaven 😂

@antony
Copy link
Member

antony commented Feb 19, 2020

It sounds like the two of you are best placed to give an idea of what is missing! It could certainly be a good base for a roadmap of sorts for Sapper.

@kaushalyap
Copy link
Author

@andriijas Can you please create a checklist? I could fill in if something is missing.

@swyxio
Copy link

swyxio commented Feb 19, 2020

just linking my project here https://github.com/sw-yx/ssg as well as https://github.com/sveltejs/sapper/pulls/nealalpert

@andriijas
Copy link

  • Pre-rendered HTML
  • Automatic Code Splitting
  • Follows PRPL-pattern
  • Smart link prefetching
  • Progressive Images
  • Plugin architecture
  • "Bring your own data"
  • Graphql layer

@bummzack
Copy link

Merging #869 would be a great first step. It would turn a broken system into a working one.
This issue alone is stopping us from considering svelte/sapper for any future projects at the moment.

@kaushalyap
Copy link
Author

kaushalyap commented Feb 20, 2020

In addition to what @andriijas mentioned

Related issues from the repo

For image optimization there is svelte-image by @sw-yx


Updates:

@swyxio
Copy link

swyxio commented Mar 25, 2020

i know both well. i'd say a subset of gatsby plugins can be adapted with low pain to work with sapper. the rest are unfortunately too React specific. would need adapters, or a "react mode".

@swyxio
Copy link

swyxio commented Mar 25, 2020

linking #1110 - when copying static files, also set a(ccess)time and m(odification)time for the files

@arxpoetica
Copy link
Member

@andriijas Sapper does automatic code splitting and link prefetch

@janat08
Copy link

janat08 commented May 4, 2020

Routify is alternative to sapper.

@kaushalyap
Copy link
Author

Does team any plans related to this? I hope they prioritize this.

@antony
Copy link
Member

antony commented Jun 26, 2020

@kaushalyap it's certainly on our RoadMap, but as with anything, we will always welcome somebody from the community to spearhead and push this forward.

@benmccann benmccann removed the meta label Aug 26, 2020
@ghost
Copy link

ghost commented Sep 5, 2020

Another suggestion that applies to sapper in general but especially for static sites which are built for speed:

  • Minification of ALL html (ssr html literals etc. which can still be found unminified in the exported output)

@floer32
Copy link

floer32 commented Sep 10, 2020

[ side note ... @sw-yx could you edit your comment since the project is defunct? I will say: thank you, though! I learned about elderjs via your comment, and i'm going to try that for another project (while still using sapper in another case) ]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

9 participants