Skip to content

0.20.0

Compare
Choose a tag to compare
@lkostrowski lkostrowski released this 21 Nov 15:39
· 301 commits to main since this release

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