Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
13
node_modules/astro/dist/runtime/server/render/instruction.js
generated
vendored
Normal file
13
node_modules/astro/dist/runtime/server/render/instruction.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
const RenderInstructionSymbol = Symbol.for("astro:render");
|
||||
function createRenderInstruction(instruction) {
|
||||
return Object.defineProperty(instruction, RenderInstructionSymbol, {
|
||||
value: true
|
||||
});
|
||||
}
|
||||
function isRenderInstruction(chunk) {
|
||||
return chunk && typeof chunk === "object" && chunk[RenderInstructionSymbol];
|
||||
}
|
||||
export {
|
||||
createRenderInstruction,
|
||||
isRenderInstruction
|
||||
};
|
Reference in New Issue
Block a user