@uniweb/runtime 1.2.8 → 1.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ssr.js +5 -1
- package/dist/ssr.js.map +1 -1
- package/package.json +4 -4
- package/src/font-links.js +23 -0
- package/src/hooks/useLinkInterceptor.js +6 -2
- package/src/link-intent.js +13 -11
- package/src/load-page-data.js +6 -21
- package/src/navigation.js +101 -32
- package/src/page-blocks.js +26 -0
- package/src/setup.js +4 -0
package/dist/ssr.js
CHANGED
|
@@ -1220,7 +1220,11 @@ async function loadPageData({ website, route, fetch: fetch2, dev = false, locale
|
|
|
1220
1220
|
};
|
|
1221
1221
|
const answered = new DataStore();
|
|
1222
1222
|
const recording = {
|
|
1223
|
-
|
|
1223
|
+
// ⭐ What the plan uses without asking (`keyProgram`'s held steps) is what THIS call's own
|
|
1224
|
+
// requests answered, as `peekRecord` is: the page carries every answer its render reads, so
|
|
1225
|
+
// it may use nothing it did not ask for itself — not another page's answer in a cache the
|
|
1226
|
+
// static build shares.
|
|
1227
|
+
peek: (request) => answered.get(deriveCacheKey$1(request)),
|
|
1224
1228
|
peekRecord: (id) => answered.getRecord(id),
|
|
1225
1229
|
dispatch: async (request, ctx) => {
|
|
1226
1230
|
if (prerender === "author" && request?.prerender === false) {
|