MCPcopy Create free account

hub / github.com/piotrwitek/react-redux-typescript-guide / functions

Functions89 in github.com/piotrwitek/react-redux-typescript-guide

↓ 5 callersFunctionresolveWithDelay
(value: T, time: number = 1000)
playground/src/api/utils.ts:1
↓ 3 callersFunctiongetInitialState
(initial?: Partial<TodosState>)
playground/src/features/todos/reducer.spec.ts:10
↓ 3 callersFunctionreducer
(state: State, action: Action)
playground/src/hooks/use-reducer.tsx:9
↓ 3 callersMethodrender
()
playground/src/hoc/with-state.tsx:35
↓ 3 callersFunctiontest
(props: any)
playground/src/components/error-message.tsx:22
↓ 2 callersFunctioncreateMatchReplacer
(wrapper)
generate-readme.js:25
↓ 2 callersFunctioncreateName
(name: string)
playground/src/models/nominal-types.ts:8
↓ 2 callersFunctioncreateSurname
(surname: string)
playground/src/models/nominal-types.ts:15
↓ 2 callersFunctionformatToken
(token: string)
playground/src/api/agent.ts:7
↓ 2 callersFunctionregisterValidSW
(swUrl: string, config?: Config)
playground/src/serviceWorker.ts:66
↓ 2 callersFunctionrenderWithRedux
( jsx: JSX.Element, options: { initialState?: object } = {} )
playground/src/connected/fc-counter-connected-own-props.spec.tsx:43
↓ 1 callersFunctionadd
(title: string)
playground/src/features/todos/actions.ts:7
↓ 1 callersFunctioncheckValidServiceWorker
(swUrl: string, config?: Config)
playground/src/serviceWorker.ts:110
↓ 1 callersFunctiongetToken
()
playground/src/api/agent.ts:5
↓ 1 callersFunctionincrement
()
playground/src/features/counters/actions.ts:8
↓ 1 callersFunctionlogAddAction
( action$, state$, { logger } )
playground/src/features/todos/epics.ts:9
↓ 1 callersFunctionreportWebVitals
(onPerfEntry?: ReportHandler)
playground/src-old/reportWebVitals.ts:3
↓ 1 callersFunctionsaveState
(storeState: T)
playground/src/services/local-storage-service.ts:4
↓ 1 callersFunctionwithConnectedCount
( BaseComponent: React.ComponentType<BaseProps> )
playground/src/hoc/with-connected-count.tsx:13
↓ 1 callersFunctionwithErrorBoundary
( BaseComponent: React.ComponentType<BaseProps> )
playground/src/hoc/with-error-boundary.tsx:5
↓ 1 callersFunctionwithState
( BaseComponent: React.ComponentType<BaseProps> )
playground/src/hoc/with-state.tsx:10
FunctionApp
()
playground/src-old/App.tsx:5
FunctionApp
()
playground/src/app.tsx:13
FunctionBrokenButton
()
playground/src/hoc/with-error-boundary.usage.tsx:13
FunctionBrokenComponent
()
playground/src/hoc/with-error-boundary.usage.tsx:9
FunctionCounter
({initialCount}: Props)
playground/src/hooks/use-state.tsx:5
FunctionCounter
({ initialCount }: CounterProps)
playground/src/hooks/use-reducer.tsx:26
FunctionErrorMessage
({ onReset, })
playground/src/components/error-message.tsx:3
FunctionFCCounter
playground/src/components/fc-counter.tsx:9
FunctionFCCounter
playground/src/connected/fc-counter-connected-bind-action-creators.tsx:30
FunctionFCCounterConnectedHooksUsage
()
playground/src/hooks/react-redux-hooks.tsx:6
FunctionFCCounterWithDefaultProps
(props: Props)
playground/src/components/fc-counter-with-default-props.tsx:11
FunctionFCSpreadAttributes
(props)
playground/src/components/fc-spread-attributes.tsx:8
FunctionHome
()
playground/src/routes/home.tsx:12
FunctionLayout
({ renderHeader, renderContent, renderFooter }: Props)
playground/src/layout/layout.tsx:9
FunctionLayoutFooter
()
playground/src/layout/layout-footer.tsx:3
FunctionLayoutHeader
()
playground/src/layout/layout-header.tsx:4
FunctionNotFound
()
playground/src/routes/not-found.tsx:4
FunctionThemeToggleButton
(props: Props)
playground/src/hooks/use-theme-context.tsx:6
FunctionToggleThemeButton
(props: Props)
playground/src/context/theme-consumer.tsx:6
Functionadd
(amount: number)
playground/src/features/counters/actions.ts:9
FunctionchangeFilter
(filter: TodosFilter)
playground/src/features/todos/actions.ts:16
MethodcomponentDidCatch
(error: Error | null, info: object)
playground/src/hoc/with-error-boundary.tsx:25
Methodconstructor
(public firstName: string, public lastName: string)
playground/src/models/user.ts:24
Methoddeserialize
(dto: IUserDTO)
playground/src/models/user.ts:26
MethodfullName
()
playground/src/models/user.ts:20
FunctiongetReduxCounter
(state: CountersState)
playground/src/features/counters/selectors.ts:3
MethodgetState
* Reads the state tree managed by the store. * * @returns The current state tree of your application.
playground/typings/redux/index.d.ts:157
MethodgetState
()
playground/typings/redux/index.d.ts:272
FunctiongetTodos
(state: TodosState)
playground/src/features/todos/selectors.ts:5
FunctiongetTodos
(state: TodosState)
playground/src/features/todos-typesafe/selectors.ts:5
FunctiongetTodosFilter
(state: TodosState)
playground/src/features/todos/selectors.ts:7
FunctiongetTodosFilter
(state: TodosState)
playground/src/features/todos-typesafe/selectors.ts:7
FunctionhandleIncrement
()
playground/src/components/fc-counter-with-default-props.tsx:14
FunctionhandleIncrement
()
playground/src/components/fc-counter.tsx:12
FunctionhandleIncrement
()
playground/src/connected/fc-counter-connected-bind-action-creators.tsx:33
Methodimport
(module: string)
playground/typings/globals.d.ts:13
FunctionincrementWithDelay
()
playground/src/connected/fc-counter-connected-bind-action-creators.tsx:9
FunctioninjectCodeBlocks
(text)
generate-readme.js:15
FunctioninjectExpanders
(text)
generate-readme.js:20
FunctionloadState
()
playground/src/services/local-storage-service.ts:18
FunctionmapDispatchToProps
(dispatch: Dispatch<Types.RootAction>)
playground/src/connected/fc-counter-connected-bind-action-creators.tsx:17
FunctionmapStateToProps
(state: RootState)
playground/src/hoc/with-connected-count.tsx:16
FunctionmapStateToProps
(state: Types.RootState, ownProps: OwnProps)
playground/src/connected/fc-counter-connected-own-props.tsx:11
FunctionmapStateToProps
(state: Types.RootState)
playground/src/connected/fc-counter-connected-bind-action-creators.tsx:13
FunctionmapStateToProps
(state: Types.RootState)
playground/src/connected/fc-counter-connected.tsx:7
FunctionrangeQueryString
(count: number, pageNumber?: number)
playground/src/api/utils.ts:5
Functionregister
(config?: Config)
playground/src/serviceWorker.ts:29
FunctionremoveKeys
(payload: T, keys: Array<keyof T>)
playground/src/api/utils.ts:8
Methodrender
()
playground/src/components/class-counter-with-default-props.tsx:28
Methodrender
()
playground/src/components/generic-list.tsx:9
Methodrender
()
playground/src/components/fc-counter.usage.tsx:8
Methodrender
()
playground/src/components/class-counter.tsx:20
Methodrender
()
playground/src/components/name-provider.tsx:14
Methodrender
()
playground/src/components/mouse-provider.tsx:22
Methodrender
()
playground/src/context/theme-provider.tsx:17
Methodrender
()
playground/src/context/theme-consumer-class.tsx:10
Methodrender
()
playground/src/hoc/with-error-boundary.tsx:34
Methodrender
()
playground/src/hoc/with-connected-count.tsx:36
MethodreplaceReducer
* Replaces the reducer currently used by the store to calculate the state. * * You might need this if your app implements code splitting and you
playground/typings/redux/index.d.ts:194
FunctionsaveStateInLocalStorage
(action$, store)
playground/src/features/app/epics.ts:15
Methodserialize
()
playground/src/models/user.ts:15
Methodserialize
()
playground/src/models/user.ts:33
FunctionsetToken
(token: string)
playground/src/api/agent.ts:13
Methodsubscribe
* Adds a change listener. It will be called any time an action is * dispatched, and some part of the state tree may potentially have changed. *
playground/typings/redux/index.d.ts:183
Functiontoggle
(id: string)
playground/src/features/todos/actions.ts:14
Functionunregister
()
playground/src/serviceWorker.ts:138
FunctionwithDetailsWrapper
(text)
generate-readme.js:41
FunctionwithSourceWrapper
(text)
generate-readme.js:33