The <ReactRuntimeProvider>
component takes a Makeswift runtime and provides it to the <Page>
component for rendering snapshots.
null
is passed,
then the published site content will be rendered.A valid locale string (ex. "en-US"
).
<ReactRuntimeProvider>
is used to implement the <MakeswiftProvider>
client component as outlined in step 9 of the App Router Installation guide. The <MakeswiftProvider>
is subsequently utilized in the App Router’s root layout.Version | Changes |
---|---|
v0.25.0 | Replace the previewMode boolean prop with siteVersion |