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
Function
App3
()
2018-05/ts-react-new-features/src/provider.tsx:351
Function
Button
({ onClick: handleClick, color, children })
2018-02/ultimate-react-component-patterns/src/stateful-stateless.tsx:15
Function
ButtonSFC
(props)
2018-05/ts-react-default-props/src/app/default-props-___.tsx:12
Function
ButtonSFC
(props)
2018-05/ts-react-default-props/src/app/default-props-solution-4.tsx:33
Function
ButtonSFC
(props: Props<T>)
2018-05/ts-react-default-props/src/app/default-props-solution-4-generics.tsx:32
Function
Child
({ who })
2018-05/ts-react-new-features/src/provider.tsx:214
Function
ChildCmp
({ who, callMe })
2018-05/ts-react-new-features/src/provider.tsx:235
Function
ChildCmpFix1
(props)
2018-05/ts-react-new-features/src/provider.tsx:276
Function
ChildCmpFix2
(props: ChildProps)
2018-05/ts-react-new-features/src/provider.tsx:335
Function
Counter
(props: { initialCount?: number })
2021/shipping-library-types-series/experiments/microbundle/src/components/counter.tsx:12
Function
Counter
({ onDecrement, onIncrement, count, title })
2018-05/ts-react-new-features/src/demo-meetup/counter.tsx:10
Function
CustomTextInput
(props: Props)
2018-08/react-ts-refs/src/app/04-refs-on-functional-components.tsx:5
Function
Debug
({ children })
2018-10/typed-react-app-without-ts/src/app/debug/debug.jsx:9
Function
FancyButton
(props: Props)
2018-08/react-ts-refs/src/app/05-forwarding-refs.tsx:6
Function
GenericComponent
(props: Props<T>)
2018-10/ten-ts-pro-tips-with-react/src/app/20-dont-use-functional-component-generic-type/do.tsx:50
Function
GenericComponent
(props)
2018-10/ten-ts-pro-tips-with-react/src/app/20-dont-use-functional-component-generic-type/dont.tsx:54
Function
GenericProviderApp
()
2018-05/ts-react-new-features/src/provider.tsx:216
Function
Greeter
(props: Props)
2018-10/ten-ts-pro-tips-with-react/src/app/20-dont-use-functional-component-generic-type/do.tsx:9
Function
Greeter
(props)
2018-10/ten-ts-pro-tips-with-react/src/app/20-dont-use-functional-component-generic-type/dont.tsx:9
Function
Greeter
(props: Props)
2021/shipping-library-types-series/experiments/microbundle/src/components/greeter.tsx:13
Function
Hello
(props)
2021/shipping-library-types-series/experiments/microbundle/src/components/counter.tsx:4
Function
Hello
({ compiler = 'TypeScript', // Default prop framework, })
2018-05/ts-react-new-features/src/default-props.tsx:41
Function
Hello2
()
2021/shipping-library-types-series/experiments/microbundle/src/components/counter.tsx:8
Function
MenuItem
({ title, toggle, show, children, })
2018-02/ultimate-react-component-patterns/src/render-cb-patterns/toggleable-menu.tsx:58
Function
MyComponent
(props: Props)
2018-10/ten-ts-pro-tips-with-react/src/app/18-no-jsx-global-for-annotation/do.tsx:7
Function
MyComponent
(props: Props)
2018-10/ten-ts-pro-tips-with-react/src/app/18-no-jsx-global-for-annotation/dont.tsx:8
Function
Provider
({ children })
2018-05/ts-react-new-features/src/test.tsx:6
Function
Provider
({ children })
2018-05/ts-react-new-features/src/provider.tsx:156
Function
Provider1
({ children })
2018-05/ts-react-new-features/src/provider.tsx:19
Function
Provider1fixA
({ children })
2018-05/ts-react-new-features/src/provider.tsx:37
Function
Provider1fixB
({ children })
2018-05/ts-react-new-features/src/provider.tsx:76
Function
Provider2
({ children })
2018-05/ts-react-new-features/src/provider.tsx:189
Function
Provider2Generic
({ children }: ProviderProps2Generic<T>)
2018-05/ts-react-new-features/src/provider.tsx:208
Function
ProviderFix1AApp
()
2018-05/ts-react-new-features/src/provider.tsx:47
Function
ProviderFix1ABApp
()
2018-05/ts-react-new-features/src/provider.tsx:124
Function
ProviderFix1BApp
()
2018-05/ts-react-new-features/src/provider.tsx:86
Function
ProviderFixAB
({ children })
2018-05/ts-react-new-features/src/provider.tsx:114
Function
RefForwardingFactory
(props: Props, ref: T)
2018-08/react-ts-refs/src/app/06-alternative_forwarding-refs-in-hoc.tsx:62
Function
RefForwardingFactory
(props: Props, ref: T)
2018-08/react-ts-refs/src/app/06-forwarding-refs-in-hoc.tsx:76
Function
SkaterBoy
({ tricks }: Props)
2018-10/ten-ts-pro-tips-with-react/src/app/14-dash-case-filenames/SkaterBoy.tsx:14
Function
SkaterBoy
({ tricks }: Props)
2018-10/ten-ts-pro-tips-with-react/src/app/14-dash-case-filenames/skater-boy.tsx:14
Function
Tab
({ children })
2018-05/ts-react-new-features/src/provider.tsx:390
Function
Tabs
({ children }: TabsProps)
2018-05/ts-react-new-features/src/provider.tsx:382
Function
TabsApp
()
2018-05/ts-react-new-features/src/provider.tsx:395
Function
TabsAppWorks
()
2018-05/ts-react-new-features/src/provider.tsx:407
Function
Test
()
2018-10/ten-ts-pro-tips-with-react/src/app/20-dont-use-functional-component-generic-type/do.tsx:15
Function
Test
()
2018-10/ten-ts-pro-tips-with-react/src/app/20-dont-use-functional-component-generic-type/dont.tsx:15
Function
TestApp
()
2018-05/ts-react-new-features/src/provider.tsx:453
Function
Todo
(description: string)
2018-10/ten-ts-pro-tips-with-react/src/app/15-types-before-implementation/exception.tsx:1
Function
ToggleableMenu
({ title, children, show: showContent })
2018-02/ultimate-react-component-patterns/src/render-cb-patterns/toggleable-menu.tsx:74
Function
ToggleableMenuViaComponentInjection
({ title, children, show: showContent, })
2018-02/ultimate-react-component-patterns/src/render-cb-patterns/toggleable-menu.tsx:86
Function
View
({ result, onIncrement, onDecrement })
2018-05/ts-react-new-features/src/test.tsx:21
Function
add
(a: number, b: number)
2021/shipping-library-types-series/experiments/microbundle/src/math.ts:2
Function
add
(a: number, b: number)
2021/shipping-library-types-series/experiments/tsdx/src/math.ts:5
Function
area
()
2018-03/ts-interface-vs-type-alias/src/example.ts:167
Method
area
()
2018-03/ts-interface-vs-type-alias/src/example.ts:58
Method
area
()
2018-03/ts-interface-vs-type-alias/src/example.ts:66
Method
area
()
2018-03/ts-interface-vs-type-alias/src/example.ts:118
Function
areeeea
()
2018-03/ts-interface-vs-type-alias/src/example.ts:129
Function
callMe
()
2018-05/ts-react-new-features/src/provider.tsx:194
Method
cardSlots
* extract projected content so we don't create new VDom object on every render * * **NOTE: ** * - This will be called on every render, as ge
2018-05/ts-react-children-composition/src/components/demo-perf.tsx:15
Method
componentDidCatch
(error: Error, errorInfo: ErrorInfo)
2018-05/ts-react-children-composition/src/components/demo.tsx:15
Method
componentDidMount
()
2018-08/react-ts-refs/src/app/03-refs-on-class-components.tsx:6
Method
componentDidUpdate
(prevProps: Props)
2018-08/react-ts-refs/src/app/06-alternative_forwarding-refs-in-hoc.tsx:42
Method
componentDidUpdate
(prevProps: Props)
2018-08/react-ts-refs/src/app/06-forwarding-refs-in-hoc.tsx:22
Method
componentDidUpdate
(prevProps: Props)
2018-08/react-ts-refs/src/app/06-forwarding-refs-in-hoc.tsx:53
Method
componentWillReceiveProps
(nextProps: Props<T>, nextContext: any)
2018-02/ultimate-react-component-patterns/src/render-cb-patterns/toggleable.tsx:29
Method
connectedCallback
()
2018-02/private-properties-in-webcomponents/src/toggleable.component.ts:58
Method
connectedCallback
()
2018-02/private-properties-in-webcomponents/src/toggleable-public.component.ts:54
Method
constructor
(props: Props)
2018-10/ten-ts-pro-tips-with-react/src/app/05-no-constructor/dont.tsx:7
Method
constructor
(description: string)
2018-10/ten-ts-pro-tips-with-react/src/app/13-types-import/models.ts:5
Method
constructor
()
2018-02/private-properties-in-webcomponents/src/toggleable.component.ts:24
Method
constructor
()
2018-02/private-properties-in-webcomponents/src/toggleable-public.component.ts:19
Method
constructor
(public payload: string)
2018-02/typesafe-redux/src/typesafe-redux-with-ts-2-8.ts:71
Method
constructor
(public payload: number)
2018-02/typesafe-redux/src/typesafe-redux-with-ts-2-8.ts:75
Function
dec
(prevState: State)
2018-05/ts-react-new-features/src/demo-meetup/provider.tsx:12
Function
decrement
(state: Counter['state'])
2018-10/ten-ts-pro-tips-with-react/src/app/13-types-import/dont.ts:10
Function
decrement
(state: State)
2018-10/ten-ts-pro-tips-with-react/src/app/13-types-import/consider.ts:10
Function
decrement
(state: import('./counter').Counter['state'])
2018-10/ten-ts-pro-tips-with-react/src/app/13-types-import/do.ts:9
Function
decrementClicksCount
(prevState: State)
2018-02/ultimate-react-component-patterns/src/stateful-stateless.tsx:86
Function
defaultPropsExample
()
2018-10/ten-ts-pro-tips-with-react/src/app/20-dont-use-functional-component-generic-type/do.tsx:21
Function
defaultPropsExample
()
2018-10/ten-ts-pro-tips-with-react/src/app/20-dont-use-functional-component-generic-type/dont.tsx:22
Method
disconectedCallback
()
2018-02/private-properties-in-webcomponents/src/toggleable.component.ts:66
Method
disconectedCallback
()
2018-02/private-properties-in-webcomponents/src/toggleable-public.component.ts:62
Function
divide
(a: number, b: number)
2021/shipping-library-types-series/experiments/microbundle/src/math.ts:11
Function
divide
(a: number, b: number)
2021/shipping-library-types-series/experiments/tsdx/src/math.ts:9
Function
epic
(actions$)
2018-02/typesafe-redux/src/epics-with-improved-of-type.ts:12
Function
epic
(actions$)
2018-02/typesafe-redux/src/epics-with-enums.ts:11
Function
epic
(actions$)
2018-02/typesafe-redux/src/epic.ts:11
Function
epicWithChainOfType
(actions$)
2018-02/typesafe-redux/src/epics-with-enums.ts:21
Function
epicWithChainOfType
(actions$)
2018-02/typesafe-redux/src/epic.ts:21
Function
example
()
2018-10/ten-ts-pro-tips-with-react/src/app/20-dont-use-functional-component-generic-type/do.tsx:3
Function
example
()
2018-10/ten-ts-pro-tips-with-react/src/app/20-dont-use-functional-component-generic-type/dont.tsx:3
Function
genericPropsExample
()
2018-10/ten-ts-pro-tips-with-react/src/app/20-dont-use-functional-component-generic-type/do.tsx:44
Function
genericPropsExample
()
2018-10/ten-ts-pro-tips-with-react/src/app/20-dont-use-functional-component-generic-type/dont.tsx:47
Function
getHocComponentName
(hocName: string, component: ComponentType<any>)
2018-05/ts-react-default-props/src/app/utils.ts:28
Function
getHocComponentName
(hocName: string, component: ComponentType<any>)
2018-05/ts-react-new-features/src/utils.ts:28
Function
getStore
(initialState = {} as State)
2018-02/typesafe-redux/src/store.ts:15
Function
handleChange
(ev: ChangeEvent<HTMLInputElement>)
2018-10/ten-ts-pro-tips-with-react/src/app/13-types-import/dont.ts:4
Method
handleChange
()
2018-10/ten-ts-pro-tips-with-react/src/app/01-class-public-accessor/do.tsx:4
← previous
next →
101–200 of 366, ranked by callers