Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arcteryx/components-cart

Package Overview
Dependencies
Maintainers
0
Versions
940
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcteryx/components-cart

Arcteryx Cart

  • 23.1.9
  • npm
  • Socket score

Version published
Weekly downloads
930
increased by675%
Maintainers
0
Weekly downloads
 
Created
Source

components-cart

Cart components live in many pages of the app including Cart, Checkout, PDP, Order Summary. Their functionality can vary widely between these apps so we are using a variant system help isolate changes.

Variant System

/ComponentX - ComponentX.tsx - styles.tsx - helpers.ts /variants - ComponentXCart - ComponentXCheckout - ComponentXFlyIn - ...etc /components - SharedComponentA - SharedComponentB

  • All styling should go into a styles.tsx folder so it doesn't clutter components
  • Shared components should go in the components folder
  • Shared logic can go in a helpers.ts file

Usage

  • See index.ts for available code exported from this package

  • Remember to install peer-deps when using this package in another repo

  • See package.json for a list of useful commands

  • run npm run build; yalc publish; npm run watch to do hot reloading while yalcing with another repo

FAQs

Package last updated on 10 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc