@huckleberry-inc/shopify-app-history
v0.0.3
Published
History management library for Shopify app
Downloads
8
Readme
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. [email protected]
🤝 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