sveltejs/svelte.dev

Tutorial Solution Bug

Open

#1,954 opened on Apr 27, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Svelte (255 forks)github user discovery
good first issue

Repository metrics

Stars
 (301 stars)
PR merge metrics
 (PR metrics pending)

Description

The solution script for the $effects tutorial found at 'apps/svelte.dev/content/tutorial/01-svelte/02-reactivity/05-effects/+assets/app-b/src/lib/App.svelte' has a minor bug: Pressing the slow down button too many times make the counter go up really fast from a certain threshold. I'd guess it is a 32-bit integer overflow.

Contributor guide