Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
Browser lockup with LayerChart geo text example | GoodFirstPicks

Browser lockup with LayerChart geo text example

sveltejs/svelte 0 comments 1mo ago
View on GitHub
highopenScope: somewhat clearSkill match: maybeSvelteTypeScript

Why this is a good first issue

The issue involves a complex regression causing browser lockups and requires deep understanding of Svelte's reactive system.

AI Summary

The issue describes a regression in Svelte versions starting from 5.35.4, causing browser lockups and `effect_update_depth_exceeded` errors in a LayerChart geo text example. The problem appears to be related to reactive updates and requires investigation into Svelte's internal mechanisms. The scope is somewhat clear but involves complex debugging across multiple versions.

Issue Description

Describe the bug

In LayerChart, the following code (full example) has worked up until [email protected], but started raising effect_update_depth_exceeded errors since 5.35.4, and fully locks up the browser since 5.38.9 (including the latest 5.48.4)

<GeoPath geojson={feature}>
	{#snippet children({ geoPath })}
		{@const [x, y] = geoPath?.centroid(feature) ?? []}
		<!-- Locks up the browser -->
		<Text
			{x}
			{y}
			value={feature.properties.name}
			textAnchor="middle"
			verticalAnchor="middle"
			style="font-size: 8px"
		/>
	{/snippet}
</GeoPath>

Reproduction

  • 5.35.3 - last fully working release
  • 5.35.4 - first release to start incorrectly rendering text locations (effect_update_depth_exceeded)

playground:output:3126 Uncaught Svelte error: effect_update_depth_exceeded Maximum update depth exceeded. This can happen when a reactive block or effect repeatedly sets a new value. Svelte limits the number of nested updates to prevent infinite loops

  • 5.36.0 - continue to get effect_update_depth_exceeded, but causes more visual issues
  • 5.38.9+ - fully lockup browser

System Info

[email protected]+

Severity

blocking an upgrade

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!

Risk Flags

  • browser lockup
  • effect_update_depth_exceeded
  • version-specific regression
Loading labels...

Details

Points10 pts
Difficultyhigh
Scopesomewhat clear
Skill Matchmaybe
Test Focusedno