Skip to main content

FastStore SDK

WIP

This documentation is currently under development.

FastStore SDK is a simple, framework-agnostic implementation of Commerce APIs to help you create your next React-based store with world-class performance in record time.

Key features​

Analytics​

The analytics data layer is based on the official GA4 specification.

Get started​

Installation​

Install @faststore/sdk as a dependency of your FastStore project via the command line:

npm install @faststore/sdk

Usage​

import React from 'react'
import type { FC } from 'react'

import { useHook } from '@faststore/sdk'

const MyStoreComponent: FC = () => {
const props = useHook()

return <MyComponent props>Hello Commerce</MyComponent>
}

Didn't find your answers? Ask the Community. For documentation suggestions, submit your feedback.

JOIN THE COMMUNITY