0.0.3 ⢠Published 5 years ago
@huckleberry-inc/shopify-app-history v0.0.3
Welcome to @huckleberry-inc/shopify-app-history š
React router hooks for Shopify app
š Homepage
Usage
import { useShopifyHistory } from '@huckleberry-inc/shopify-app-history';
import createApp from '@shopify/app-bridge';
const app = createApp({
apiKey: 'API key from Shopify Partner Dashboard',
shopOrigin,
});
// React hooks
const to = useShopifyHistory(app);
// You can use it in React Component
const jump = () => { to("/another_page") }
Also, You can check React router API docs.
Install
yarn add @huckleberry-inc/shopify-app-history
Author
š¤ Huckleberry, inc. dev@huckleberry-inc.com
š¤ Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a āļø if this project helped you!
This README was generated with ā¤ļø by readme-md-generator