Working with front-end handlers in Spire
Optimizely created a new set of handlers in Typescript (versus C# in Classic CMS) to use to extend the front-end with Spire. You can customize handler chains by adding/removing/replacing the handlers within them.
Spire uses handler chains for most actions a user takes on the storefront. Handlers manage things like loading data and adding items to the cart. Internally, handlers may call APIs and dispatch Redux actions.
Handler extension example
This example shows a number of different ways to customize the LoadOrders handler.