Skip to content

b/vite build warning#56

Merged
chronon merged 1 commit intomainfrom
b/vite-build-warnings
Dec 8, 2025
Merged

b/vite build warning#56
chronon merged 1 commit intomainfrom
b/vite-build-warnings

Conversation

@chronon
Copy link
Owner

@chronon chronon commented Dec 8, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 8, 2025 15:04
@chronon chronon added the bug Something isn't working label Dec 8, 2025
@chronon chronon self-assigned this Dec 8, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a Vite build warning by refactoring the reactive state management in the main page component. The changes address state update patterns in Svelte 5 by separating base data from incrementally loaded images and using proper reactive primitives.

Key changes:

  • Replaced direct mutation of allImages with a derived state pattern
  • Introduced additionalImages to track incrementally loaded content separately from initial data
  • Added an $effect to reset state when the underlying data changes

@chronon chronon merged commit b3d3e40 into main Dec 8, 2025
1 check passed
@chronon chronon deleted the b/vite-build-warnings branch December 8, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants