Render only when shared state changes
Add shared-data and bundle invalidation signals, and have handles publish them automatically for SAB and graph mutations. Document the raw core worker protocol in a dedicated VitePress site and simplify the glTF import and picking example. Amp-Thread-ID: https://ampcode.com/threads/T-01a01ff8-b91f-724f-8952-f07c6b5042fd Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
const isolationHeaders = {
|
||||
"Cross-Origin-Opener-Policy": "same-origin",
|
||||
"Cross-Origin-Embedder-Policy": "require-corp",
|
||||
};
|
||||
|
||||
export default {
|
||||
title: "Yawn Core Wire API",
|
||||
description: "Raw worker, shared-memory, and render-graph reference",
|
||||
cleanUrls: true,
|
||||
themeConfig: {
|
||||
nav: [
|
||||
{ text: "Boot", link: "/guide/boot" },
|
||||
{ text: "Shared memory", link: "/guide/shared-memory" },
|
||||
{ text: "Render graphs", link: "/guide/render-graphs" },
|
||||
{ text: "Wire reference", link: "/reference/worker" },
|
||||
],
|
||||
sidebar: [
|
||||
{
|
||||
text: "Guides",
|
||||
items: [
|
||||
{ text: "Raw-core overview", link: "/" },
|
||||
{ text: "Boot and transport", link: "/guide/boot" },
|
||||
{ text: "Shared memory", link: "/guide/shared-memory" },
|
||||
{ text: "Render graphs", link: "/guide/render-graphs" },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: "Reference",
|
||||
items: [
|
||||
{ text: "Worker messages", link: "/reference/worker" },
|
||||
{ text: "Graph schema", link: "/reference/graph-schema" },
|
||||
{ text: "Errors and lifecycle", link: "/reference/errors" },
|
||||
],
|
||||
},
|
||||
],
|
||||
search: { provider: "local" },
|
||||
},
|
||||
vite: {
|
||||
server: { headers: isolationHeaders },
|
||||
preview: { headers: isolationHeaders },
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user