0.20.0
What's Changed
RoutePropagator
A React (Next.js specific) component that syncs app's route with Dashboard
// _app.tsx
import { RoutePropagator } from "@saleor/app-sdk/app-bridge/next";
export default function App() {
// ...your code
return (
<AppBridgeProvider appBridgeInstance={appBridgeInstance}>
<GraphQLProvider>
<ThemeProvider overrides={themeOverrides} ssr>
<RoutePropagator /> {/* Add this 🚀 */}
<Component {...pageProps} />
</ThemeProvider>
</GraphQLProvider>
</AppBridgeProvider>
);
}
RestAPL
Add new APL - for simple REST resources, learn more here
Full Changelog: v0.19.0...v0.20.0