Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuarkGluonPlasma/react-course-code
/ updateHostComponent
Function
updateHostComponent
mini-react/src/mini-react.js:94–99 ·
view source on GitHub ↗
(fiber)
Source
from the content-addressed store, hash-verified
92
}
93
94
function
updateHostComponent(fiber) {
95
if
(!fiber.dom) {
96
fiber.dom = createDom(fiber)
97
}
98
reconcileChildren(fiber, fiber.props.children)
99
}
100
101
function
createDom(fiber) {
102
const
dom =
Callers
1
performUnitOfWork
Function · 0.85
Calls
2
createDom
Function · 0.85
reconcileChildren
Function · 0.85
Tested by
no test coverage detected