sveltejs / sapper

The next small thing in web development, powered by Svelte
https://sapper.svelte.dev
MIT License
6.99k stars 434 forks source link

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

Open kaushalyap opened 4 years ago

kaushalyap commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

swyxio commented 4 years ago

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

andriijas commented 4 years ago
bummzack commented 4 years ago

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 commented 4 years ago

In addition to what @andriijas mentioned

Related issues from the repo

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


Updates:

swyxio commented 4 years ago

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 commented 4 years ago

linking https://github.com/sveltejs/sapper/issues/1110 - when copying static files, also set a(ccess)time and m(odification)time for the files

arxpoetica commented 4 years ago

@andriijas Sapper does automatic code splitting and link prefetch

janat08 commented 4 years ago

Routify is alternative to sapper.

kaushalyap commented 4 years ago

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

antony commented 4 years ago

@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.

ghost commented 4 years ago

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

floer32 commented 4 years ago

[ 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) ]