Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace data-sveltekit-prefetch/prefetch(...)/prefetchRoutes(...) #7776

Merged
merged 34 commits into from
Nov 28, 2022
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
7aec177
rename prefetch -> preload and prefetchRoutes -> prepare, tweak prepa…
Rich-Harris Nov 22, 2022
ed76835
rename data-sveltekit-prefetch to data-sveltekit-preload
Rich-Harris Nov 22, 2022
8ef3787
update migration guide
Rich-Harris Nov 22, 2022
b527f88
various
Rich-Harris Nov 22, 2022
cf31708
shuffle some things around
Rich-Harris Nov 22, 2022
bca2620
refactor a tiny bit
Rich-Harris Nov 22, 2022
30df4fe
fix
Rich-Harris Nov 23, 2022
2b940ff
implement data-sveltekit-prepare
Rich-Harris Nov 23, 2022
ff05f38
make it slightly more self-contained
Rich-Harris Nov 23, 2022
5eac541
keyboard events
Rich-Harris Nov 23, 2022
44a6f32
named constants
Rich-Harris Nov 23, 2022
c8c0332
handle malformed URLs
Rich-Harris Nov 23, 2022
20068be
merge master
Rich-Harris Nov 26, 2022
8d8bf76
rename
Rich-Harris Nov 26, 2022
0a592bf
use data-sveltekit-preload-code and data-sveltekit-preload-data
Rich-Harris Nov 26, 2022
b2ae571
rename stuff
Rich-Harris Nov 26, 2022
b5cec95
fix
Rich-Harris Nov 26, 2022
3920671
docs
Rich-Harris Nov 27, 2022
d0ab6b9
missed a spot
Rich-Harris Nov 27, 2022
09028cb
changesets
Rich-Harris Nov 27, 2022
bb356d9
clarification
Rich-Harris Nov 27, 2022
cfe78b2
fix migration guide
Rich-Harris Nov 27, 2022
e3428a2
tidy up
Rich-Harris Nov 27, 2022
bd470a3
feat: Typing improvements to preload PR (#7841)
elliott-with-the-longest-name-on-github Nov 28, 2022
3338a6d
Update documentation/docs/30-advanced/30-link-options.md
Rich-Harris Nov 28, 2022
d483848
move up explanation of mobile behaviour
Rich-Harris Nov 28, 2022
5f3a7aa
clarify
Rich-Harris Nov 28, 2022
8abb732
Merge branch 'gh-7289' of github.com:sveltejs/kit into gh-7289
Rich-Harris Nov 28, 2022
e69e30a
Update packages/kit/src/runtime/client/client.js
Rich-Harris Nov 28, 2022
9fde16c
change "page" to "eager"
Rich-Harris Nov 28, 2022
eae754a
Merge branch 'gh-7289' of github.com:sveltejs/kit into gh-7289
Rich-Harris Nov 28, 2022
bb73d82
make side-effecty
Rich-Harris Nov 28, 2022
6e32028
oops
Rich-Harris Nov 28, 2022
2553a9d
fix docs
Rich-Harris Nov 28, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update migration guide
Rich-Harris committed Nov 22, 2022
commit 8ef37873766a696ef67f14c53b7544af8f88e40c
2 changes: 1 addition & 1 deletion documentation/docs/60-appendix/10-migrating.md
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ Your custom error page component should be renamed from `_error.svelte` to `+err

#### Imports

The `goto`, `prefetch` and `prefetchRoutes` imports from `@sapper/app` should be replaced with identical imports from [`$app/navigation`](/docs/modules#$app-navigation).
The `goto`, `prefetch` and `prefetchRoutes` imports from `@sapper/app` should be replaced with `goto`, `preload` and `prepare` imports respectively from [`$app/navigation`](/docs/modules#$app-navigation).

The `stores` import from `@sapper/app` should be replaced — see the [Stores](/docs/migrating#pages-and-layouts-stores) section below.