Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/preactjs/preact
/ createRef
Function
createRef
test/fixtures/preact.js:579–581 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
577
return
diff(merge, vnode, {}, !1, parent, !1);
578
}
579
function
createRef() {
580
return
{};
581
}
582
var
VNode =
function
() {};
583
var
options = {};
584
var
stack = [];
Callers
12
jsx-runtime.test.jsx
File · 0.90
refs.test.jsx
File · 0.90
constructor
Method · 0.90
createStatefulNullable
Function · 0.90
placeholders.test.jsx
File · 0.90
cloneElement.test.jsx
File · 0.90
constructor
Method · 0.90
validateHookArgs.test.jsx
File · 0.90
debug-compat.test.jsx
File · 0.90
debug.test.jsx
File · 0.90
preact.tsx
File · 0.50
CreateRefComponent
Class · 0.50
Calls
no outgoing calls
Tested by
3
constructor
Method · 0.72
createStatefulNullable
Function · 0.72
constructor
Method · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…