MCPcopy Create free account

hub / github.com/coryhouse/react-state-demo / functions

Functions33 in github.com/coryhouse/react-state-demo

↓ 10 callersFunctioncheckHead
(name)
cypress/integration/detail.spec.js:11
↓ 6 callersMethodaddToCart
* Add a shoe to the cart * @example * cy.addToCart(id, size)
cypress/support/index.d.ts:10
↓ 6 callersFunctionsetQty
(name, size, qty)
cypress/integration/detail.spec.js:3
↓ 4 callersFunctioncheckQty
(name, size, qty)
cypress/integration/detail.spec.js:15
↓ 2 callersFunctionuseFetch
(url)
src/services/useFetch.js:3
↓ 1 callersFunctionaddToCart
(id, sku)
src/App.jsx:26
↓ 1 callersFunctionareEqual
(array1, array2)
src/services/useFetchAll.js:35
↓ 1 callersFunctionemptyCart
()
src/App.jsx:49
↓ 1 callersFunctiongetErrors
(address)
src/Checkout.jsx:28
↓ 1 callersFunctiongetFilteredProducts
()
src/Products.jsx:12
↓ 1 callersMethodrender
()
src/ErrorBoundary.jsx:10
↓ 1 callersFunctionsaveShippingAddress
(address)
src/services/shippingService.js:10
↓ 1 callersFunctionupdateQuantity
(sku, quantity)
src/App.jsx:41
↓ 1 callersFunctionuseFetchAll
(urls)
src/services/useFetchAll.js:3
FunctionApp
()
src/App.jsx:11
FunctionCart
({ cart, updateQuantity, numItemsInCart })
src/Cart.jsx:6
FunctionCheckout
({ emptyCart })
src/Checkout.jsx:17
FunctionDetail
({ addToCart })
src/Detail.jsx:7
FunctionFooter
()
src/Footer.jsx:3
FunctionHeader
({ numItemsInCart })
src/Header.jsx:8
FunctionPageNotFound
()
src/PageNotFound.jsx:3
FunctionProducts
()
src/Products.jsx:7
FunctionSpinner
()
src/Spinner.jsx:3
MethodgetDerivedStateFromError
(error)
src/ErrorBoundary.jsx:6
FunctiongetProduct
(key, id)
src/services/productService.js:9
FunctiongetProducts
(key, category)
src/services/productService.js:3
FunctiongetShippingAddress
(userId)
src/services/shippingService.js:3
FunctionhandleBlur
(e)
src/Checkout.jsx:45
FunctionhandleChange
(e)
src/Checkout.jsx:35
FunctionhandleSubmit
(e)
src/Checkout.jsx:49
FunctionrenderItem
(itemInCart)
src/Cart.jsx:12
FunctionsetValue
(value)
src/useLocalStorage.js:17
FunctionuseLocalStorage
(key, initialValue)
src/useLocalStorage.js:3