Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bradtraversy/mern_shopping_list
/ functions
Functions
47 in github.com/bradtraversy/mern_shopping_list
⨍
Functions
47
◇
Types & classes
22
↓ 6 callers
Function
returnErrors
(msg: IMsg, status: number, id: any = null)
client/src/flux/actions/errorActions.ts:5
↓ 3 callers
Function
handleToggle
()
client/src/components/ItemModal.tsx:20
↓ 3 callers
Method
preventDefault
()
client/src/types/interfaces.ts:8
↓ 3 callers
Function
tokenConfig
(getState: Function)
client/src/flux/actions/authActions.ts:108
↓ 2 callers
Function
clearErrors
()
client/src/flux/actions/errorActions.ts:13
↓ 2 callers
Function
registerValidSW
(swUrl: string, config?: Config)
client/src/serviceWorker.ts:65
↓ 1 callers
Function
addItem
(item: IItem)
client/src/flux/actions/itemActions.ts:22
↓ 1 callers
Function
checkValidServiceWorker
(swUrl: string, config?: Config)
client/src/serviceWorker.ts:109
↓ 1 callers
Function
deleteItem
(id: string)
client/src/flux/actions/itemActions.ts:39
↓ 1 callers
Function
getItems
()
client/src/flux/actions/itemActions.ts:7
↓ 1 callers
Function
handleDelete
(id: string)
client/src/components/ShoppingList.tsx:18
↓ 1 callers
Function
loadUser
()
client/src/flux/actions/authActions.ts:16
↓ 1 callers
Function
login
({ email, password }: IAuthFunction)
client/src/flux/actions/authActions.ts:69
↓ 1 callers
Function
register
({ name, email, password }: IAuthFunction)
client/src/flux/actions/authActions.ts:37
↓ 1 callers
Method
register
(user: IUser)
client/src/types/interfaces.ts:34
↓ 1 callers
Function
setItemsLoading
()
client/src/flux/actions/itemActions.ts:56
Function
App
()
client/src/App.tsx:14
Function
AppNavbar
({ auth }: IAppNavbar)
client/src/components/AppNavbar.tsx:17
Function
ItemModal
({ isAuthenticated, addItem }: IItemModal)
client/src/components/ItemModal.tsx:16
Function
LoginModal
({ isAuthenticated, error, login, clearErrors }: ILoginModal)
client/src/components/auth/LoginModal.tsx:19
Function
Logout
({ logout }: ILogoutProps)
client/src/components/auth/Logout.tsx:7
Function
RegisterModal
({ isAuthenticated, error, register, clearErrors }: IRegisterModal)
client/src/components/auth/RegisterModal.tsx:23
Function
ShoppingList
({ getItems, item, isAuthenticated, deleteItem }: IShoppingList)
client/src/components/ShoppingList.tsx:8
Method
addItem
(item: IItem)
client/src/types/interfaces.ts:78
Method
clearErrors
()
client/src/types/interfaces.ts:26
Method
deleteItem
(id: string)
client/src/types/interfaces.ts:92
Method
getItems
()
client/src/types/interfaces.ts:91
Function
handleChangeEmail
(e: ITarget)
client/src/components/auth/LoginModal.tsx:36
Function
handleChangeEmail
(e: ITarget)
client/src/components/auth/RegisterModal.tsx:42
Function
handleChangeName
(e: ITarget)
client/src/components/ItemModal.tsx:22
Function
handleChangeName
(e: ITarget)
client/src/components/auth/RegisterModal.tsx:41
Function
handleChangePassword
(e: ITarget)
client/src/components/auth/LoginModal.tsx:37
Function
handleChangePassword
(e: ITarget)
client/src/components/auth/RegisterModal.tsx:43
Function
handleOnSubmit
(e: any)
client/src/components/ItemModal.tsx:24
Function
handleOnSubmit
(e: any)
client/src/components/auth/LoginModal.tsx:39
Function
handleOnSubmit
(e: any)
client/src/components/auth/RegisterModal.tsx:45
Function
handleToggle
()
client/src/components/AppNavbar.tsx:20
Method
login
(user: IUser)
client/src/types/interfaces.ts:30
Function
logout
()
client/src/flux/actions/authActions.ts:101
Method
logout
()
client/src/types/interfaces.ts:38
Function
mapStateToProps
(state: IItemReduxProps)
client/src/components/ItemModal.tsx:75
Function
mapStateToProps
(state: IAuthReduxProps)
client/src/components/AppNavbar.tsx:65
Function
mapStateToProps
(state: IItemReduxProps)
client/src/components/ShoppingList.tsx:50
Function
mapStateToProps
(state: IAuthReduxProps)
client/src/components/auth/LoginModal.tsx:111
Function
mapStateToProps
(state: IAuthReduxProps)
client/src/components/auth/RegisterModal.tsx:127
Function
register
(config?: Config)
client/src/serviceWorker.ts:28
Function
unregister
()
client/src/serviceWorker.ts:139