Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Separate path pings from normal pings #358

Merged
merged 3 commits into from
Apr 11, 2023
Merged

Separate path pings from normal pings #358

merged 3 commits into from
Apr 11, 2023

Conversation

Rich-Harris
Copy link
Member

This is #355 but with an additional fix. Eagerly updating the URL bar doesn't work great in exercises like https://learn-svelte-dev-git-fork-tomoam-fix-348-svelte.vercel.app/tutorial/preload, because the browser doesn't update the URL bar until the navigation is committed. This means that the URL bar changes briefly, then reverts, then changes again once the navigation finishes.

(Technically it's incorrect to eagerly update the URL for a slow navigation, but that only affects a very small number of exercises — maybe just one — so I think it's worth it.)

@vercel
Copy link

vercel bot commented Apr 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
learn-svelte-dev ✅ Ready (Inspect) Visit Preview Apr 11, 2023 1:57pm

@Rich-Harris Rich-Harris merged commit 485d12d into main Apr 11, 2023
@Rich-Harris Rich-Harris deleted the fix-348-2 branch April 11, 2023 13: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.

2 participants