Upgrading
Upgrading to 0.15.0
If you haven’t upgraded to 0.14.0
please read the upgrading guide.
Add ReactRuntimeProvider
to your Next.js Custom App
If you don’t have a Custom App, you’ll need to add one. Then wrap it with ReactRuntimeProvider
and pass your runtime
instance to it.
pages/_app.tsx
Remove runtime
prop from Page
component
pages/[[...path]].tsx
Use React.lazy
instead of next/dynamic
for code-splitting
makeswift/components.tsx
Here is the link to the official release notes.
Was this page helpful?