Yes there is some talks about removing segment from sapper but nothing has been committed yet. In here github.com/sveltejs/sapper/issues/824 you can find the discussion and some alternatives (using $page store)
Yes. I saw that discussion as well. I guess my point was that the above code is no longer functional (at least the bits that rely on segment). Somewhere along the way that proposed change seems to have made it into the current sveletkit branch.
Does anyone know where the page store is in the Sveltekit world? Previously, it was in @sapper/app.
Yes there is some talks about removing segment from sapper but nothing has been committed yet. In here github.com/sveltejs/sapper/issues/824 you can find the discussion and some alternatives (using $page store)
Yes. I saw that discussion as well. I guess my point was that the above code is no longer functional (at least the bits that rely on
segment
). Somewhere along the way that proposed change seems to have made it into the current sveletkit branch.Does anyone know where the
page
store is in the Sveltekit world? Previously, it was in@sapper/app
.import { page } from '$app/stores';