Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

refactor: migrate deprecated $app/stores to modern $app/state - #296

Closed
insign wants to merge 1 commit into
mainfrom
fix-sveltekit-state-import-4386353796072929764
Closed

insign wants to merge 1 commit into
mainfrom
fix-sveltekit-state-import-4386353796072929764

Conversation

@insign

@insign insign commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Migrates deprecated $app/stores import to $app/state in the main page component.

The previous implementation relied on $app/stores which is deprecated in Svelte 5 and SvelteKit 2.12+. This change updates the page to use import { page } from '$app/state' and removes the $ prefix from all page references, seamlessly integrating with Svelte 5's new reactivity model (untrack, etc.) and resolving potential linter warnings for reactive tracking outside boundaries. No functional changes have been introduced; this is purely a modernization to support long-term SvelteKit maintainability.


PR created automatically by Jules for task 4386353796072929764 started by @insign

Migrates `$app/stores` import to `$app/state` in `src/routes/+page.svelte` and updates the `page` reactive variable to use the new non-prefixed state object (`page` instead of `$page`), adhering to Svelte 5 modernization best practices.

Co-authored-by: insign <1113045+insign@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying showd with  Cloudflare Pages  Cloudflare Pages

Latest commit: 96c030c
Status: ✅  Deploy successful!
Preview URL: https://3cb4fc85.showd.pages.dev
Branch Preview URL: https://fix-sveltekit-state-import-4.showd.pages.dev

View logs

@insign insign closed this Apr 21, 2026
@insign
insign deleted the fix-sveltekit-state-import-4386353796072929764 branch April 21, 2026 02:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant