permacoop
permacoop copied to clipboard
[tech] Migration Sapper -> SvelteKit
[Évoqué en off, une issue pour discuter du sujet]
Contexte
Pour l'instant le client/
utilise Sapper.
Or Sapper sera bientôt [quand ?] déprécié / mis en maintenance ("no new features") au profit de SvelteKit.
Si SvelteKit semble toujours en bêta, rien n'empêche d'expérimenter une migration pour voir si ça colle avec notre utilisation actuelle.
Motivation
- À terme, garder
permacoop
à jour techniquement. - Une expérimentation permettra de voir s'il y a des points bloquants à migrer dès maintenant, malgré la bêta.
Implémentation
Il y a un guide de migration Sapper -> SvelteKit ici : https://kit.svelte.dev/migrating
Références
Docs
Cf les FAQ à ce jour (2021-11-02) :
Sapper is not 1.0 yet. Should I use it? What about SvelteKit?
We are currently working on Sapper's successor, SvelteKit. There are still some known issues to resolve and aspects of the design that will change. Whether you want to start on SvelteKit will be determined by how willing you are to deal with bumps in the road during a beta period. […]
Et FAQ SvelteKit :
SvelteKit is not 1.0 yet. Should I use it? What about Sapper?
SvelteKit is currently in beta while we finalize the APIs. No new features will be added to Sapper and all development will be focused on SvelteKit.
Précédents
https://github.com/fairnesscoop/permacoop/pull/209