Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobPruzan/react-scratch
/ functions
Functions
77 in github.com/RobPruzan/react-scratch
⨍
Functions
77
◇
Types & classes
0
↓ 9 callers
Function
aux
({ lastUpdatedSibling, newViewTree, oldViewTree, parentDomNode, }: { oldViewTree: ReactV
src/react/core.ts:104
↓ 6 callers
Function
findFirstTagNode
(viewNode: ReactViewTreeNode)
src/react/core.ts:70
↓ 4 callers
Function
getComponentName
(internalMetadata: ReactComponentInternalMetadata)
src/react/core.ts:445
↓ 3 callers
Function
findRenderNodeOrThrow
( eq: (node: ReactRenderTreeNode) => boolean, tree: ReactRenderTreeNode )
src/react/core.ts:666
↓ 3 callers
Function
reRenderChild
()
src/react/core.ts:1077
↓ 2 callers
Function
aux
(viewNode: T)
src/utils.ts:79
↓ 2 callers
Function
compareIndexPaths
( leftIndexPath: Array<number>, rightIndexPath: Array<number> )
src/react/core.ts:603
↓ 2 callers
Function
generateViewTree
({ renderNode, parentViewNode, }: { renderNode: ReactRenderTreeNode; parentViewNode: ReactViewTreeNode
src/react/core.ts:931
↓ 2 callers
Function
generateViewTreeHelper
({ renderNode, startingFromRenderNodeId, parentViewNode, isEntrypoint = false, }: { renderNode: Reac
src/react/core.ts:959
↓ 2 callers
Function
updateDom
(args: { oldViewTree: ReactViewTreeNode | null; newViewTree: ReactViewTreeNode | null; insertInfo: |
src/react/core.ts:91
↓ 2 callers
Function
updateElement
({ props, tagComponent, previousDomRef, lastParent, insertedBefore, }: { tagComponent: TagComponen
src/react/core.ts:25
↓ 1 callers
Function
buildReactTrees
( rootComponentInternalMetadata: ReactComponentInternalMetadata )
src/react/core.ts:1317
↓ 1 callers
Function
createElement
( component: ReactComponentExternalMetadata<T>["component"], props: T, ...children: Array<ReactComponent
src/react/core.ts:468
↓ 1 callers
Function
findNodeOrThrow
( eq: (node: T) => boolean, tree: T )
src/utils.ts:75
↓ 1 callers
Function
findParentNodeOrThrow
( eq: (node: T) => boolean, tree: T )
src/utils.ts:118
↓ 1 callers
Function
findParentViewNode
(id: string)
src/react/core.ts:484
↓ 1 callers
Function
findRenderNode
( eq: (node: ReactRenderTreeNode) => boolean, tree: ReactRenderTreeNode )
src/react/core.ts:655
↓ 1 callers
Function
findViewNodeOrThrow
( eq: (node: ReactViewTreeNode) => boolean, tree: ReactViewTreeNode )
src/react/core.ts:622
↓ 1 callers
Function
generateRenderNodeChildNodes
({ internalMetadata, parent, }: { internalMetadata: ReactComponentInternalMetadata; parent: ReactRende
src/react/core.ts:747
↓ 1 callers
Function
isChildOf
({ potentialChildId, potentialParentId, }: { potentialParentId: string; potentialChildId: string; })
src/react/core.ts:546
↓ 1 callers
Function
mapComponentToTaggedUnion
( component: ReactComponentExternalMetadata<AnyProps>["component"] )
src/react/core.ts:402
↓ 1 callers
Function
mapExternalMetadataToInternalMetadata
({ externalMetadata, }: { externalMetadata: ReactComponentExternalMetadata<AnyProps>; })
src/react/core.ts:409
↓ 1 callers
Function
reconcileRenderNodeChildNodes
({ oldRenderTreeNodes, newRenderTreeNodes, }: { oldRenderTreeNodes: Array<ReactRenderTreeNode>; newRen
src/react/core.ts:701
↓ 1 callers
Function
searchForContextStateUpwards
( viewNode: ReactViewTreeNode, ctxId: string )
src/react/core.ts:821
↓ 1 callers
Function
triggerReRender
({ capturedCurrentlyRenderingRenderNode, }: { capturedCurrentlyRenderingRenderNode: RealElement & { pa
src/react/core.ts:1526
↓ 1 callers
Function
useMemo
(fn: () => T, deps: Array<unknown>)
src/react/core.ts:1469
Function
ActionButton
()
src/script.ts:326
Function
AddItemsTest
()
src/script.ts:403
Function
AnotherLevel
()
src/script.ts:165
Function
Bar
()
src/script.ts:3
Function
Component
(props: any)
src/script.ts:84
Function
ConditionalRender
()
src/script.ts:30
Function
ConditionalTest
()
src/script.ts:384
Function
ContainerComponent
()
src/script.ts:295
Function
ContextTest
()
src/script.ts:581
Function
DataFetcher
()
src/script.ts:614
Function
DeadParent
()
src/script.ts:525
Function
DualIncrementer
()
src/script.ts:307
Function
EvenLower
()
src/script.ts:594
Function
Foo
()
src/script.ts:48
Function
Increment
()
src/script.ts:174
Function
InnerWrapper
({ counter }: any)
src/script.ts:257
Function
IsAChild
()
src/script.ts:81
Function
IsItARootTHing
()
src/script.ts:514
Function
LeafComponent
()
src/script.ts:287
Function
ListAndItemUnder
()
src/script.ts:453
Function
ListTest
()
src/script.ts:430
Function
MainComponent
({ children }: any)
src/script.ts:342
Function
MegaChild
()
src/script.ts:377
Function
NestThis
()
src/script.ts:130
Function
OuterWrapper
()
src/script.ts:211
Function
ParentContextTest
()
src/script.ts:605
Function
PropsTest
(props: any)
src/script.ts:64
Function
RandomElement
()
src/script.ts:196
Function
RenrenderedChild
()
src/script.ts:544
Function
Repro
()
src/script.ts:561
Function
SimpleChild
()
src/script.ts:191
Function
SimpleParent
(props: any)
src/script.ts:109
Function
Wrapper
()
src/script.ts:449
Function
calculateJsonBytes
(jsonString: string)
src/react/core.ts:599
Function
createContext
(initialValue: T)
src/react/core.ts:889
Function
deepCloneTree
(obj: T, seen = new WeakSet())
src/utils.ts:41
Function
deepEqual
(a: any, b: any)
src/utils.ts:2
Function
deepTraverseAndModify
(obj: any)
src/react/core.ts:1279
Function
findNode
( eq: (node: T) => boolean, tree: T )
src/utils.ts:107
Function
findParentNode
( eq: (node: T) => boolean, tree: T )
src/utils.ts:152
Function
findParentRenderNode
(renderNode: ReactRenderTreeNode)
src/react/core.ts:514
Function
getComponentProps
(meta: ReactComponentInternalMetadata)
src/react/core.ts:18
Function
getComponentRepr
(internalMetadata: ReactComponentInternalMetadata)
src/react/core.ts:461
Function
render
( rootElement: ReturnType<typeof createElement>, domEl: HTMLElement )
src/react/core.ts:1664
Function
run
(f: () => T)
src/utils.ts:1
Function
toChild
( child: | ReactComponentExternalMetadata<AnyProps>["children"][number] | null | false )
src/react/core.ts:437
Function
useCallback
( fn: () => T, deps: Array<unknown> )
src/react/core.ts:1520
Function
useContext
(context: ReturnType<typeof createContext<T>>)
src/react/core.ts:850
Function
useEffect
(cb: () => void, deps: Array<unknown>)
src/react/core.ts:1420
Function
useRef
(initialValue: T)
src/react/core.ts:1379
Function
useState
(initialValue: T)
src/react/core.ts:1613