Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hotell/blogposts
/ functions
Functions
366 in github.com/Hotell/blogposts
⨍
Functions
366
◇
Types & classes
289
↓ 6 callers
Function
createAction
(type: T, payload?: P)
2018-02/typesafe-redux/src/action-helpers.ts:5
↓ 6 callers
Method
test
()
2018-05/ts-react-new-features/src/generic-components.tsx:21
↓ 5 callers
Function
respond
(recipient: string, message: Response)
2018-10/ten-ts-pro-tips-with-react/src/app/04-enum/better.tsx:5
↓ 5 callers
Function
respond
(recipient: string, message: Response)
2018-10/ten-ts-pro-tips-with-react/src/app/04-enum/good.tsx:27
↓ 4 callers
Function
getProps
( props: P, defaultProps: DP )
2018-05/ts-react-default-props/src/app/utils.ts:67
↓ 4 callers
Function
respond
(recipient: string, message: Response)
2018-10/ten-ts-pro-tips-with-react/src/app/04-enum/dont.tsx:12
↓ 3 callers
Function
action
(type: string)
2018-02/typesafe-redux/src/typesafe-redux-with-ts-2-8.ts:8
↓ 3 callers
Function
createAction
(type: string, payload?: any)
2018-02/typesafe-redux/src/typesafe-redux-with-ts-2-8.ts:14
↓ 3 callers
Function
favoriteColor
(name: string, color: Colors)
2018-10/ten-ts-pro-tips-with-react/src/app/04-enum/better.tsx:11
↓ 3 callers
Function
favoriteColor
(name: string, color: Colors)
2018-10/ten-ts-pro-tips-with-react/src/app/04-enum/good.tsx:23
↓ 3 callers
Function
favoriteColor
(name: string, color: Colors)
2018-10/ten-ts-pro-tips-with-react/src/app/04-enum/dont.tsx:16
↓ 3 callers
Function
isFunction
(value: any)
2018-02/ultimate-react-component-patterns/src/utils.ts:4
↓ 3 callers
Function
ofType
(...types: string[])
2018-02/typesafe-redux/src/of-type.ts:24
↓ 3 callers
Method
ofType
()
2018-02/ultimate-react-component-patterns/src/render-cb-patterns/toggleable.tsx:23
↓ 3 callers
Method
render
()
2018-02/private-properties-in-webcomponents/src/toggleable.component.ts:62
↓ 3 callers
Method
render
()
2018-02/private-properties-in-webcomponents/src/toggleable-public.component.ts:58
↓ 3 callers
Function
withDefaultProps
( defaultProps: DP, Cmp: ComponentType<P> )
2018-02/ultimate-react-component-patterns/src/utils.ts:11
↓ 2 callers
Function
Enum
(...args: T)
2018-10/ten-ts-pro-tips-with-react/src/app/04-enum/custom-enum-helper.ts:3
↓ 2 callers
Function
createPropsGetter
(defaultProps: DP)
2018-05/ts-react-default-props/src/app/utils.ts:62
↓ 2 callers
Method
getApi
()
2018-05/ts-react-children-composition/src/components/05-bonus.tsx:26
↓ 2 callers
Method
getApi
()
2018-05/ts-react-children-composition/src/components/05.tsx:23
↓ 2 callers
Function
getCounter
()
2018-03/ts-interface-vs-type-alias/src/example.ts:208
↓ 2 callers
Function
getHocComponentName
(hocName: string, component: ComponentType<any>)
2018-02/ultimate-react-component-patterns/src/utils.ts:8
↓ 2 callers
Function
isFunction
(value: T)
2018-05/ts-react-children-composition/src/components/05-bonus.tsx:57
↓ 2 callers
Function
isFunction
(value: T)
2018-05/ts-react-children-composition/src/components/05.tsx:54
↓ 2 callers
Method
reset
()
2018-03/ts-interface-vs-type-alias/src/example.ts:205
↓ 2 callers
Function
resolveColorTheme
(color: DefaultProps['color'])
2018-05/ts-react-default-props/src/app/default-props-solution-4.tsx:46
↓ 2 callers
Function
resolveColorTheme
(color: DefaultProps['color'])
2018-05/ts-react-default-props/src/app/default-props-solution-4-generics.tsx:44
↓ 2 callers
Function
withDefaultProps
( defaultProps: DP, Cmp: ComponentType<P> )
2018-05/ts-react-new-features/src/utils.ts:36
↓ 1 callers
Function
Logger
(env: typeof environment)
2021/shipping-library-types-series/experiments/microbundle/src/logger.ts:4
↓ 1 callers
Function
Todo
(description)
2018-10/typed-react-app-without-ts/src/app/models.js:10
↓ 1 callers
Function
Todo
(description: string)
2018-10/ten-ts-pro-tips-with-react/src/app/10-use-declaration-for-non-class-models/do.tsx:1
↓ 1 callers
Function
Todo
(description: string)
2018-10/ten-ts-pro-tips-with-react/src/app/10-use-declaration-for-non-class-models/dont.tsx:1
↓ 1 callers
Method
animate
(dx: number, dy: number, easing: Easing)
2018-03/ts-interface-vs-type-alias/src/example.ts:257
↓ 1 callers
Function
bootstrap
()
2018-10/typed-react-app-without-ts/src/main.js:9
↓ 1 callers
Function
bootstrap
()
2018-10/ten-ts-pro-tips-with-react/src/main.ts:8
↓ 1 callers
Function
bootstrap
()
2018-08/react-ts-refs/src/main.ts:8
↓ 1 callers
Function
bootstrap
()
2021/shipping-library-types-series/rollup-your-types/src/main.ts:8
↓ 1 callers
Function
bootstrap
()
templates/react-new-post/src/main.ts:8
↓ 1 callers
Function
bootstrap
()
2018-05/ts-react-children-composition/src/main.ts:6
↓ 1 callers
Function
bootstrap
()
2018-05/ts-react-default-props/src/main.ts:5
↓ 1 callers
Function
bootstrap
()
2018-05/ts-react-new-features/src/demo-meetup/main.ts:6
↓ 1 callers
Method
focus
()
2018-08/react-ts-refs/src/app/03-refs-on-class-components.tsx:21
↓ 1 callers
Method
focus
()
2018-08/react-ts-refs/src/app/06-alternative_forwarding-refs-in-hoc.tsx:79
↓ 1 callers
Method
focus
()
2018-08/react-ts-refs/src/app/02-accessing-refs.tsx:9
↓ 1 callers
Method
focus
()
2018-08/react-ts-refs/src/app/06-forwarding-refs-in-hoc.tsx:93
↓ 1 callers
Method
getApi
()
2018-05/ts-react-children-composition/src/components/04.tsx:22
↓ 1 callers
Function
getComponentName
(component: ComponentType<any>)
2018-02/ultimate-react-component-patterns/src/utils.ts:6
↓ 1 callers
Function
getComponentName
(component: ComponentType<any>)
2018-05/ts-react-default-props/src/app/utils.ts:26
↓ 1 callers
Function
getComponentName
(component: ComponentType<any>)
2018-05/ts-react-new-features/src/utils.ts:26
↓ 1 callers
Function
getInitialState
(props: Props)
2018-10/ten-ts-pro-tips-with-react/src/app/09-runtime-inference-to-define-state-default-props-type/inferring-state-when-using-props-for-state.tsx:8
↓ 1 callers
Function
getRectangleAreaAliased
(args: PointType)
2018-03/ts-interface-vs-type-alias/src/example.ts:21
↓ 1 callers
Function
getRectangleAreaInterface
(args: PointInterface)
2018-03/ts-interface-vs-type-alias/src/example.ts:20
↓ 1 callers
Function
hasChildren
(value: T)
2018-05/ts-react-children-composition/src/components/05-bonus.tsx:54
↓ 1 callers
Function
hasChildren
(value: T)
2018-05/ts-react-children-composition/src/components/05.tsx:51
↓ 1 callers
Function
hasRender
(value: T)
2018-05/ts-react-children-composition/src/components/05-bonus.tsx:52
↓ 1 callers
Function
hasRender
(value: T)
2018-05/ts-react-children-composition/src/components/05.tsx:49
↓ 1 callers
Method
isAcceptable
(s: string)
2018-10/ten-ts-pro-tips-with-react/src/app/12-namespace/do.tsx:15
↓ 1 callers
Function
isBlank
(value: T)
2018-05/ts-react-default-props/src/app/utils.ts:9
↓ 1 callers
Function
isBlank
(value: T)
2018-05/ts-react-new-features/src/utils.ts:9
↓ 1 callers
Function
isFunction
(value: any)
2018-05/ts-react-children-composition/src/components/04.tsx:41
↓ 1 callers
Function
isNamedSlots
(children: any)
2018-05/ts-react-children-composition/src/components/03.tsx:19
↓ 1 callers
Function
isObject
(value: any)
2018-05/ts-react-children-composition/src/components/03.tsx:17
↓ 1 callers
Function
isPresent
(value: T)
2018-05/ts-react-default-props/src/app/utils.ts:8
↓ 1 callers
Function
isPresent
(value: T)
2018-05/ts-react-new-features/src/utils.ts:8
↓ 1 callers
Function
main
({ titles: [first, second] }: { titles: string[] })
2018-02/private-properties-in-webcomponents/src/index.ts:11
↓ 1 callers
Method
renderInnerContent
(config: BaseProps['config'])
2018-10/ten-ts-pro-tips-with-react/src/app/03-class-protected-accessor/dont.tsx:6
↓ 1 callers
Function
resolveColorTheme
(color: DefaultProps['color'])
2018-05/ts-react-default-props/src/app/default-props-2.tsx:15
↓ 1 callers
Function
resolveColorTheme
(color: DefaultProps['color'])
2018-05/ts-react-default-props/src/app/default-props-solution-2.tsx:30
↓ 1 callers
Function
resolveColorTheme
(color: DefaultProps['color'])
2018-05/ts-react-default-props/src/app/default-props-solution-1.tsx:15
↓ 1 callers
Function
resolveColorTheme
(color: DefaultProps['color'])
2018-05/ts-react-default-props/src/app/default-props-solution-3.tsx:33
↓ 1 callers
Function
rollup
()
2021/shipping-library-types-series/experiments/microbundle/scripts/tsc-prog.js:6
↓ 1 callers
Function
sum
(a: number, b: number)
2021/shipping-library-types-series/experiments/tsdx/src/index.ts:1
↓ 1 callers
Function
withDefaultProps
( defaultProps: DP, Cmp: ComponentType<P> )
2018-05/ts-react-default-props/src/app/utils.ts:36
↓ 1 callers
Method
withEnhancedProps
(ChildCmp: ComponentType<P>)
2018-05/ts-react-new-features/src/provider.tsx:307
↓ 1 callers
Method
withEnhancedProps
(Cmp: ComponentType<P>)
2018-05/ts-react-new-features/src/demo-meetup/provider.tsx:22
↓ 1 callers
Function
withLoading
( Cmp: ComponentType<OriginalProps & InjectedProps> )
2018-02/ultimate-react-component-patterns/src/hoc-with-ts-2-8.tsx:12
↓ 1 callers
Function
withPropsLogger
( WrappedComponent: Constructor<T> )
2018-08/react-ts-refs/src/app/06-alternative_forwarding-refs-in-hoc.tsx:25
↓ 1 callers
Function
withPropsLogger
( WrappedComponent: ComponentClass<OriginalProps> )
2018-08/react-ts-refs/src/app/06-forwarding-refs-in-hoc.tsx:40
↓ 1 callers
Function
withToggle
( UnwrappedComponent: ComponentType<OriginalProps & InjectedProps> )
2018-02/ultimate-react-component-patterns/src/hoc-patterns/with-toggle.tsx:15
↓ 1 callers
Function
withToogleable
( UnwrappedComponent: ComponentType<OriginalProps & InjectedProps> )
2018-02/ultimate-react-component-patterns/src/render-cb-patterns/with-toggleable.tsx:16
Function
App
()
2018-10/typed-react-app-without-ts/src/test.tsx:16
Function
App
()
2018-10/ten-ts-pro-tips-with-react/src/app/08-explicit-children/do.tsx:29
Function
App
()
2018-10/ten-ts-pro-tips-with-react/src/app/08-explicit-children/dont.tsx:26
Function
App
()
2018-08/react-ts-refs/src/app/05-forwarding-refs.tsx:23
Function
App
()
2018-08/react-ts-refs/src/app/06-alternative_forwarding-refs-in-hoc.tsx:105
Function
App
()
2018-08/react-ts-refs/src/app/06-forwarding-refs-in-hoc.tsx:121
Function
App
()
2021/shipping-library-types-series/experiments/microbundle/src/components/greeter.tsx:23
Function
App
()
2021/shipping-library-types-series/rollup-your-types/src/app/app.tsx:3
Function
App
()
2018-02/ultimate-react-component-patterns/src/hoc-with-ts-2-8.tsx:51
Function
App
()
2018-02/ultimate-react-component-patterns/src/stateful-stateless.tsx:104
Function
App
()
2018-05/ts-react-children-composition/src/bugs-demos/children-union.tsx:43
Function
App
()
2018-05/ts-react-children-composition/src/bugs-demos/prop-union-bug.tsx:18
Function
App
()
2018-05/ts-react-default-props/src/app/app.tsx:3
Function
App
()
2018-05/ts-react-new-features/src/test.tsx:28
Function
App
()
2018-05/ts-react-new-features/src/generic-components.tsx:25
Function
App
()
2018-05/ts-react-new-features/src/provider.tsx:446
Function
App
()
2018-05/ts-react-new-features/src/demo-meetup/app.tsx:7
Function
App1
()
2018-05/ts-react-new-features/src/provider.tsx:242
Function
App2
()
2018-05/ts-react-new-features/src/provider.tsx:286
next →
1–100 of 366, ranked by callers