1.0.0 • Published 7 months ago

@brandboostinggmbh/shopify-app-react-router v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Shopify App React Router

🧩 A React Router v7 package for building Shopify apps

This package is a drop-in replacement for @shopify/shopify-app-remix that uses React Router v7 instead of Remix. It provides the same functionality and API as the Remix package, but with React Router v7 under the hood.

Installation

npm install @shopify/shopify-app-react-router

or

yarn add @shopify/shopify-app-react-router

or

pnpm add @shopify/shopify-app-react-router

Usage

The API is designed to be compatible with @shopify/shopify-app-remix, which means you can replace the imports in your existing Shopify app with the corresponding imports from this package.

// Instead of
import { shopifyApp } from '@shopify/shopify-app-remix';

// Use
import { shopifyApp } from '@shopify/shopify-app-react-router/server';

Features

  • Auth management with Shopify
  • Session handling
  • API clients for Admin and Storefront APIs
  • UI components for your Shopify app
  • React Router v7 integration

Contributing

For more information on developing and contributing to this package, see the contributing guide.

License

MIT © Shopify