Skip to content

fix: cap effects tutorial interval delay#2015

Open
alan747271363-art wants to merge 1 commit into
sveltejs:mainfrom
alan747271363-art:codex/cap-effects-tutorial-interval
Open

fix: cap effects tutorial interval delay#2015
alan747271363-art wants to merge 1 commit into
sveltejs:mainfrom
alan747271363-art:codex/cap-effects-tutorial-interval

Conversation

@alan747271363-art
Copy link
Copy Markdown

Summary

  • cap the effects tutorial solution interval at the maximum 32-bit timer delay
  • prevent repeated "slow down" clicks from overflowing the browser timer delay and making the counter tick quickly again

Closes #1954

Validation

  • corepack pnpm exec prettier --write content/tutorial/01-svelte/02-reactivity/05-effects/+assets/app-b/src/lib/App.svelte
  • corepack pnpm exec prettier --check content/tutorial/01-svelte/02-reactivity/05-effects/+assets/app-b/src/lib/App.svelte
  • git diff --check

Note: corepack pnpm --filter svelte.dev lint still reports pre-existing formatting warnings across many unrelated files; the changed tutorial file passes the targeted Prettier check.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 31, 2026

@alan747271363-art is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

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.

Tutorial Solution Bug

1 participant