Skip to content

SvelteKit 2.12: $app/stores deprecated #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Norbert-Brett
Copy link

Summary

Migrated from the deprecated $app/stores to the new $app/state API introduced in SvelteKit 2.12. This change ensures compatibility with SvelteKit 3 and leverages the fine-grained state management provided by the Svelte 5 runes API.

Key Changes

Replaced $app/stores with $app/state.
Adjusted usage by removing $ prefixes.

Motivation

The migration aligns with SvelteKit's latest best practices and deprecation guidelines, ensuring future compatibility and improved state handling.

Please review and provide feedback!

Copy link

netlify bot commented Apr 13, 2025

Deploy Preview for sveltekit-static-starter ready!

Name Link
🔨 Latest commit 4ec832e
🔍 Latest deploy log https://app.netlify.com/sites/sveltekit-static-starter/deploys/67fbaa10aa428100089ffc1f
😎 Deploy Preview https://deploy-preview-48--sveltekit-static-starter.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 97
Accessibility: 100
Best Practices: 100
SEO: 91
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

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

Successfully merging this pull request may close these issues.

1 participant