@faststore/sdk
TypeScript icon, indicating that this package has built-in type declarations

3.0.40 • Public • Published

Faststore

FastStore SDK

Lightweight ecommerce state managment library

Installation

From the command line in your project directory, run yarn add @faststore/sdk.

yarn add @faststore/sdk

Usage

import React, { Component } from 'react'

import { useUI } from '@faststore/sdk'

function MyComponent {
  const { displayMinicart } = useUI()

  if (displayMinicart) {
    return <div>Minicart</div>
  }

  return null
}

Docs

For more information, please refer to our documentation: https://v1.faststore.dev/reference/sdk/faststore-sdk

Readme

Keywords

none

Package Sidebar

Install

npm i @faststore/sdk

Weekly Downloads

3,651

Version

3.0.40

License

MIT

Unpacked Size

116 kB

Total Files

183

Last publish

Collaborators

  • hellofanny
  • lucasfjportela
  • eduardo.formiga
  • guieevc
  • icazevedo
  • lariciamota
  • emersonlaurentino