Skip to main content
Frontend Customer
Updated over a year ago

Introduction

The frontend-customer package is used for managing customers and accounts pages.

Import

frontend-customer is already pre-installed on every Shogun Frontend store. It exposes useCustomerState and useCustomerActions hooks. To import:

import { useCustomerState, useCustomerActions } from 'frontend-customer'

API reference

Examples

Did this answer your question?