Skip to content

zeckon/sveltekit-goto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goto doing page refresh

Run App

Run the app

npm i
npm run dev

Test 1

Call Directly

Visit: /test1 Result: Refresh, outputs ssr to console (also outputs client to browser)

Test 2

Call onMount

Visit: /test2 Result: Refresh, outputs ssr to console (also outputs client to browser)

Test 3

Wrap with setTimeout

Visit: /test3 Result: No Refresh, only outputs client to console

Test 4

Call on sveltekit:start

Visit: /test4 Result: Refresh, outputs ssr to console (also outputs client to browser)

About

Testing goto behaviour

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published