0.26.0, please review the 0.26.0 upgrade
guide first.
v0.27.0 of the runtime introduces support for multiple isolated Makeswift-enabled
React regions on a single page.
Since version 0.23, the runtime has included built-in elements support,
allowing developers to define editable regions within a page. However, this capability
implicitly required all page regions to exist under a single React root and within
one <MakeswiftRuntimeProvider>.
This release removes that limitation.
As part of this change,
ReactRuntime import for Next.js has been moved from @makeswift/runtime/react to @makeswift/runtime/next.
Refer to the official release
notes
for the full list of changes.
Breaking Changes
ReactRuntime import
ReactRuntime import for Next.js has been moved from @makeswift/runtime/react to @makeswift/runtime/next:
(internal) appOrigin and apiOrigin params
Undocumented appOrigin and apiOrigin params are now passed directly to the ReactRuntime constructor.
See internal apps for details.