Visual Development for React, Vue, Svelte, Qwik, and more
MIT License
Bot releases are hidden (Show)
Published by samijaber 6 months ago
isPreviewing
logic on the server, and make usage of isEditing
unnecessary.Published by samijaber 6 months ago
isPreviewing
logic on the server, and make usage of isEditing
unnecessary.Published by samijaber 6 months ago
isPreviewing
logic on the server, and make usage of isEditing
unnecessary.Published by samijaber 6 months ago
isPreviewing
logic on the server, and make usage of isEditing
unnecessary.Published by samijaber 6 months ago
isPreviewing
logic on the server, and make usage of isEditing
unnecessary.Published by samijaber 6 months ago
isPreviewing
logic on the server, and make usage of isEditing
unnecessary.Published by samijaber 6 months ago
isolated-vm
import.fetchOneEntry
prop types of fetch
and fetchOptions
Published by samijaber 6 months ago
isolated-vm
import.fetchOneEntry
prop types of fetch
and fetchOptions
Published by samijaber 6 months ago
isolated-vm
import.fetchOneEntry
prop types of fetch
and fetchOptions
Published by samijaber 6 months ago
isolated-vm
import.fetchOneEntry
prop types of fetch
and fetchOptions
Published by samijaber 6 months ago
d8e08ae: Feature: add @builder.io/sdk-react/node/init
entry point with initializeNodeRuntime
export that sets the IVM instance.
This import should be called in a server-only location, such as:
_document.tsx
:// _document.tsx
import { Html, Head, Main, NextScript } from 'next/document';
import { initializeNodeRuntime } from '@builder.io/sdk-react/node/init';
initializeNodeRuntime();
export default function Document() {
return (
<Html lang="en">
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
loader
responsible for fetching the page content from Builder.io:// ($slug)._index.tsx
import { fetchOneEntry } from '@builder.io/sdk-react';
export const loader = async ({ params, request }: LoaderFunctionArgs) => {
// the import must be inside the loader itself.
const { initializeNodeRuntime } = await import('@builder.io/sdk-react/node/init');
await initializeNodeRuntime();
const page = await fetchOneEntry({
/** */
});
};
7bad8d9: Fix: better error-logging for isolated-vm
import.
d8e08ae: Fix: fetchOneEntry
prop types of fetch
and fetchOptions
Published by samijaber 6 months ago
isolated-vm
import.fetchOneEntry
prop types of fetch
and fetchOptions
Published by samijaber 6 months ago
isolated-vm
import.fetchOneEntry
prop types of fetch
and fetchOptions
Published by samijaber 6 months ago
key
prop to Select
block's option
Published by samijaber 6 months ago
key
prop to Select
block's option
Published by samijaber 6 months ago
key
prop to Select
block's option
Published by samijaber 6 months ago
key
prop to Select
block's option
Published by samijaber 6 months ago
key
prop to Select
block's option
Published by samijaber 6 months ago
key
prop to Select
block's option
Published by samijaber 6 months ago
BuilderContext
from sdks