move all page info to app-level stores

This commit is contained in:
Rich Harris
2019-02-01 22:28:47 -05:00
parent 7ba1a0a9fa
commit 548de702ac
17 changed files with 135 additions and 154 deletions

View File

@@ -1 +1,8 @@
import { writable } from 'svelte/store';
export const stores = {
preloading: writable(null),
page: writable(null)
};
export const CONTEXT_KEY = {};