MCPcopy Create free account

hub / github.com/AmetAlvirde/dead-simple-real-world-nextjs-app / functions

Functions35 in github.com/AmetAlvirde/dead-simple-real-world-nextjs-app

↓ 2 callersFunctioncreatePageContext
()
lib/getPageContext.js:27
↓ 2 callersFunctiongetOrCreateStore
(initialState)
lib/with-redux-store.js:9
↓ 1 callersFunctiondecrement
components/Counter/actions.js:10
↓ 1 callersMethodgetInitialProps
({ Component, ctx })
pages/_app.js:44
↓ 1 callersFunctiongetPageContext
()
lib/getPageContext.js:38
↓ 1 callersFunctionincrement
components/Counter/actions.js:1
↓ 1 callersFunctionlogin
(payload, next = '/')
components/Login/actions.js:5
↓ 1 callersFunctionlogout
()
components/Login/actions.js:19
↓ 1 callersMethodredirectToLogin
(ctx)
pages/_app.js:31
↓ 1 callersFunctionuseForm
(callback, initialFormFields = {})
hooks/useForm/index.js:3
↓ 1 callersFunctionwhoAmI
components/Login/actions.js:30
FunctionIndex
({ user, dispatch })
components/Index/index.js:8
FunctionIndexPage
()
pages/index.js:4
FunctionLogin
({ router, dispatch })
components/Login/index.js:10
FunctionLoginPage
()
pages/login.js:4
FunctionNoUserFound
()
components/NoUserFound/index.js:3
FunctionProfile
({ user })
components/Profile/index.js:12
FunctionProfilePage
()
pages/profile.js:4
FunctionWrappedComponent
pages/_document.js:11
MethodcomponentDidMount
()
pages/_app.js:24
Methodconstructor
()
pages/_app.js:19
Methodconstructor
(props)
lib/with-redux-store.js:47
FunctioncounterReducer
(state = initialState, action)
components/Counter/reducer.js:5
FunctiondispatchDecrement
()
components/Counter/index.js:12
FunctiondispatchIncrement
()
components/Counter/index.js:8
MethodgetInitialProps
(appContext)
lib/with-redux-store.js:30
FunctionhandleChange
hooks/useForm/index.js:11
FunctionhandleLogout
components/Index/index.js:9
FunctionhandleSubmit
hooks/useForm/index.js:6
FunctionmapStateToProps
components/Login/index.js:65
FunctionmapStateToProps
components/Profile/index.js:32
Methodrender
()
pages/_app.js:71
Methodrender
()
lib/with-redux-store.js:52
FunctionrootReducer
(state, action)
lib/init-store.js:15
FunctionstoreWithMiddleware
lib/init-store.js:23