MCPcopy
hub / github.com/riot/riot / RiotPureComponent

Interface RiotPureComponent

riot.d.ts:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106// Riot Pure Component interface that should be used together with riot.pure
107export interface RiotPureComponent<Context = object> {
108 mount(element: HTMLElement, context?: Context): void
109 update(context?: Context): void
110 unmount(keepRootElement: boolean): void
111}
112
113export interface PureComponentFactoryFunction<
114 InitialProps extends DefaultProps = DefaultProps,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…