Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebDevSimplified/react-ts-shopping-cart
/ functions
Functions
18 in github.com/WebDevSimplified/react-ts-shopping-cart
⨍
Functions
18
◇
Types & classes
0
↓ 4 callers
Function
formatCurrency
(number: number)
src/utilities/formatCurrency.ts:6
↓ 4 callers
Function
useShoppingCart
()
src/context/ShoppingCartContext.tsx:27
↓ 2 callers
Function
increaseCartQuantity
(id: number)
src/context/ShoppingCartContext.tsx:47
↓ 2 callers
Function
removeFromCart
(id: number)
src/context/ShoppingCartContext.tsx:77
↓ 1 callers
Function
decreaseCartQuantity
(id: number)
src/context/ShoppingCartContext.tsx:62
↓ 1 callers
Function
getItemQuantity
(id: number)
src/context/ShoppingCartContext.tsx:44
↓ 1 callers
Function
useLocalStorage
(key: string, initialValue: T | (() => T))
src/hooks/useLocalStorage.ts:3
Function
About
()
src/pages/About.tsx:1
Function
App
()
src/App.tsx:9
Function
CartItem
({ id, quantity }: CartItemProps)
src/components/CartItem.tsx:11
Function
Home
()
src/pages/Home.tsx:1
Function
Navbar
()
src/components/Navbar.tsx:5
Function
ShoppingCart
({ isOpen }: ShoppingCartProps)
src/components/ShoppingCart.tsx:11
Function
ShoppingCartProvider
({ children }: ShoppingCartProviderProps)
src/context/ShoppingCartContext.tsx:30
Function
Store
()
src/pages/Store.tsx:5
Function
StoreItem
({ id, name, price, imgUrl }: StoreItemProps)
src/components/StoreItem.tsx:12
Function
closeCart
()
src/context/ShoppingCartContext.tsx:43
Function
openCart
()
src/context/ShoppingCartContext.tsx:42