1.0.0 • Published 7 months ago
@brandboostinggmbh/shopify-app-react-router v1.0.0
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-routeror
yarn add @shopify/shopify-app-react-routeror
pnpm add @shopify/shopify-app-react-routerUsage
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
1.0.0
7 months ago