Frontend Customer

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 page help you?