storefront-data-hooks
Hooks for React Storefront UI Components
File Explorer
Download Latest Version (.zip)- use-add-address.tsx
- use-addresses.tsx
- use-remove-address.tsx
- use-update-address.tsx
- add-address.ts
- get-addresses.ts
- remove-address.ts
- update-address.ts
- index.ts
- types.ts
- add-item.ts
- get-cart.ts
- remove-item.ts
- update-item.ts
- index.ts
- get-products.ts
- products.ts
- get-logged-in-customer.ts
- login.ts
- logout.ts
- signup.ts
- index.ts
- login.ts
- logout.ts
- signup.ts
- signup.types.ts
- catalog.ts
- store-content.ts
- wishlist.ts
- category-tree.ts
- product.ts
- get-all-pages.ts
- get-all-product-paths.ts
- get-all-products.ts
- get-customer-id.ts
- get-customer-impersonation-token.ts
- get-customer-wishlist.ts
- get-page.ts
- get-product.ts
- get-site-info.ts
- login.ts
- get-order-products.ts
- get-orders.ts
- index.ts
- products.ts
- concat-cookie.ts
- create-api-handler.ts
- errors.ts
- fetch-graphql-api.ts
- fetch-store-api.ts
- fetch.ts
- filter-edges.ts
- get-cart-cookie.ts
- get-login-cookie.ts
- is-allowed-method.ts
- parse-item.ts
- set-product-locale-meta.ts
- types.ts
- warn-deprecated-method.ts
- add-item.ts
- get-wishlist.ts
- remove-item.ts
- index.ts
- checkout.ts
- index.ts
- use-add-item.tsx
- use-cart-actions.tsx
- use-cart.tsx
- use-remove-item.tsx
- use-update-item.tsx
- use-add-address.tsx
- use-addresses.tsx
- use-remove-address.tsx
- use-update-address.tsx
- index.ts
- use-add-item.tsx
- use-cart-actions.tsx
- use-cart.tsx
- use-remove-item.tsx
- use-update-item.tsx
- use-search.tsx
- errors.ts
- types.ts
- use-action.tsx
- use-data.tsx
- use-add-item.tsx
- use-remove-item.tsx
- use-wishlist.tsx
- index.tsx
- use-customer.tsx
- use-login.tsx
- use-logout.tsx
- use-price.tsx
- use-signup.tsx
- session.ts
- use-search.tsx
- generate-definitions.js
- use-add-item.tsx
- use-remove-item.tsx
- use-wishlist-actions.tsx
- use-wishlist.tsx
- .DS_Store
- index.tsx
- schema.d.ts
- schema.graphql
- use-customer.tsx
- use-login.tsx
- use-logout.tsx
- use-order-products.tsx
- use-orders.tsx
- use-price.tsx
- use-signup.tsx
- .env.example
- .eslintignore
- .eslintrc.js
- .gitignore
- .nvmrc
- .prettierrc
- .release-it.json
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- codegen.json
- CONTRIBUTING.md
- LICENSE.md
- package.json
- README.md
- tsconfig.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/bigcommerce/storefront-data-hooks
Downloads the entire project code from GitHub to your computer.
cd storefront-data-hooks
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
yarn add @bigcommerce/storefront-data-hooks
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
