Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/piotrwitek/react-redux-typescript-guide
/ functions
Functions
89 in github.com/piotrwitek/react-redux-typescript-guide
⨍
Functions
89
◇
Types & classes
58
↓ 5 callers
Function
resolveWithDelay
(value: T, time: number = 1000)
playground/src/api/utils.ts:1
↓ 3 callers
Function
getInitialState
(initial?: Partial<TodosState>)
playground/src/features/todos/reducer.spec.ts:10
↓ 3 callers
Function
reducer
(state: State, action: Action)
playground/src/hooks/use-reducer.tsx:9
↓ 3 callers
Method
render
()
playground/src/hoc/with-state.tsx:35
↓ 3 callers
Function
test
(props: any)
playground/src/components/error-message.tsx:22
↓ 2 callers
Function
createMatchReplacer
(wrapper)
generate-readme.js:25
↓ 2 callers
Function
createName
(name: string)
playground/src/models/nominal-types.ts:8
↓ 2 callers
Function
createSurname
(surname: string)
playground/src/models/nominal-types.ts:15
↓ 2 callers
Function
formatToken
(token: string)
playground/src/api/agent.ts:7
↓ 2 callers
Function
registerValidSW
(swUrl: string, config?: Config)
playground/src/serviceWorker.ts:66
↓ 2 callers
Function
renderWithRedux
( jsx: JSX.Element, options: { initialState?: object } = {} )
playground/src/connected/fc-counter-connected-own-props.spec.tsx:43
↓ 1 callers
Function
add
(title: string)
playground/src/features/todos/actions.ts:7
↓ 1 callers
Function
checkValidServiceWorker
(swUrl: string, config?: Config)
playground/src/serviceWorker.ts:110
↓ 1 callers
Function
getToken
()
playground/src/api/agent.ts:5
↓ 1 callers
Function
increment
()
playground/src/features/counters/actions.ts:8
↓ 1 callers
Function
logAddAction
( action$, state$, { logger } )
playground/src/features/todos/epics.ts:9
↓ 1 callers
Function
reportWebVitals
(onPerfEntry?: ReportHandler)
playground/src-old/reportWebVitals.ts:3
↓ 1 callers
Function
saveState
(storeState: T)
playground/src/services/local-storage-service.ts:4
↓ 1 callers
Function
withConnectedCount
( BaseComponent: React.ComponentType<BaseProps> )
playground/src/hoc/with-connected-count.tsx:13
↓ 1 callers
Function
withErrorBoundary
( BaseComponent: React.ComponentType<BaseProps> )
playground/src/hoc/with-error-boundary.tsx:5
↓ 1 callers
Function
withState
( BaseComponent: React.ComponentType<BaseProps> )
playground/src/hoc/with-state.tsx:10
Function
App
()
playground/src-old/App.tsx:5
Function
App
()
playground/src/app.tsx:13
Function
BrokenButton
()
playground/src/hoc/with-error-boundary.usage.tsx:13
Function
BrokenComponent
()
playground/src/hoc/with-error-boundary.usage.tsx:9
Function
Counter
({initialCount}: Props)
playground/src/hooks/use-state.tsx:5
Function
Counter
({ initialCount }: CounterProps)
playground/src/hooks/use-reducer.tsx:26
Function
ErrorMessage
({ onReset, })
playground/src/components/error-message.tsx:3
Function
FCCounter
playground/src/components/fc-counter.tsx:9
Function
FCCounter
playground/src/connected/fc-counter-connected-bind-action-creators.tsx:30
Function
FCCounterConnectedHooksUsage
()
playground/src/hooks/react-redux-hooks.tsx:6
Function
FCCounterWithDefaultProps
(props: Props)
playground/src/components/fc-counter-with-default-props.tsx:11
Function
FCSpreadAttributes
(props)
playground/src/components/fc-spread-attributes.tsx:8
Function
Home
()
playground/src/routes/home.tsx:12
Function
Layout
({ renderHeader, renderContent, renderFooter }: Props)
playground/src/layout/layout.tsx:9
Function
LayoutFooter
()
playground/src/layout/layout-footer.tsx:3
Function
LayoutHeader
()
playground/src/layout/layout-header.tsx:4
Function
NotFound
()
playground/src/routes/not-found.tsx:4
Function
ThemeToggleButton
(props: Props)
playground/src/hooks/use-theme-context.tsx:6
Function
ToggleThemeButton
(props: Props)
playground/src/context/theme-consumer.tsx:6
Function
add
(amount: number)
playground/src/features/counters/actions.ts:9
Function
changeFilter
(filter: TodosFilter)
playground/src/features/todos/actions.ts:16
Method
componentDidCatch
(error: Error | null, info: object)
playground/src/hoc/with-error-boundary.tsx:25
Method
constructor
(public firstName: string, public lastName: string)
playground/src/models/user.ts:24
Method
deserialize
(dto: IUserDTO)
playground/src/models/user.ts:26
Method
fullName
()
playground/src/models/user.ts:20
Function
getReduxCounter
(state: CountersState)
playground/src/features/counters/selectors.ts:3
Method
getState
* Reads the state tree managed by the store. * * @returns The current state tree of your application.
playground/typings/redux/index.d.ts:157
Method
getState
()
playground/typings/redux/index.d.ts:272
Function
getTodos
(state: TodosState)
playground/src/features/todos/selectors.ts:5
Function
getTodos
(state: TodosState)
playground/src/features/todos-typesafe/selectors.ts:5
Function
getTodosFilter
(state: TodosState)
playground/src/features/todos/selectors.ts:7
Function
getTodosFilter
(state: TodosState)
playground/src/features/todos-typesafe/selectors.ts:7
Function
handleIncrement
()
playground/src/components/fc-counter-with-default-props.tsx:14
Function
handleIncrement
()
playground/src/components/fc-counter.tsx:12
Function
handleIncrement
()
playground/src/connected/fc-counter-connected-bind-action-creators.tsx:33
Method
import
(module: string)
playground/typings/globals.d.ts:13
Function
incrementWithDelay
()
playground/src/connected/fc-counter-connected-bind-action-creators.tsx:9
Function
injectCodeBlocks
(text)
generate-readme.js:15
Function
injectExpanders
(text)
generate-readme.js:20
Function
loadState
()
playground/src/services/local-storage-service.ts:18
Function
mapDispatchToProps
(dispatch: Dispatch<Types.RootAction>)
playground/src/connected/fc-counter-connected-bind-action-creators.tsx:17
Function
mapStateToProps
(state: RootState)
playground/src/hoc/with-connected-count.tsx:16
Function
mapStateToProps
(state: Types.RootState, ownProps: OwnProps)
playground/src/connected/fc-counter-connected-own-props.tsx:11
Function
mapStateToProps
(state: Types.RootState)
playground/src/connected/fc-counter-connected-bind-action-creators.tsx:13
Function
mapStateToProps
(state: Types.RootState)
playground/src/connected/fc-counter-connected.tsx:7
Function
rangeQueryString
(count: number, pageNumber?: number)
playground/src/api/utils.ts:5
Function
register
(config?: Config)
playground/src/serviceWorker.ts:29
Function
removeKeys
(payload: T, keys: Array<keyof T>)
playground/src/api/utils.ts:8
Method
render
()
playground/src/components/class-counter-with-default-props.tsx:28
Method
render
()
playground/src/components/generic-list.tsx:9
Method
render
()
playground/src/components/fc-counter.usage.tsx:8
Method
render
()
playground/src/components/class-counter.tsx:20
Method
render
()
playground/src/components/name-provider.tsx:14
Method
render
()
playground/src/components/mouse-provider.tsx:22
Method
render
()
playground/src/context/theme-provider.tsx:17
Method
render
()
playground/src/context/theme-consumer-class.tsx:10
Method
render
()
playground/src/hoc/with-error-boundary.tsx:34
Method
render
()
playground/src/hoc/with-connected-count.tsx:36
Method
replaceReducer
* 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
Function
saveStateInLocalStorage
(action$, store)
playground/src/features/app/epics.ts:15
Method
serialize
()
playground/src/models/user.ts:15
Method
serialize
()
playground/src/models/user.ts:33
Function
setToken
(token: string)
playground/src/api/agent.ts:13
Method
subscribe
* 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
Function
toggle
(id: string)
playground/src/features/todos/actions.ts:14
Function
unregister
()
playground/src/serviceWorker.ts:138
Function
withDetailsWrapper
(text)
generate-readme.js:41
Function
withSourceWrapper
(text)
generate-readme.js:33