Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xu22Web/tech-study-js
/ ref
Function
ref
tech-study.js:1015–1019 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
1013
* @returns
1014
*/
1015
const
ref = (value) => {
1016
return
isRef(value)
1017
? value
1018
: createRef(value, true);
1019
};
1020
/**
1021
* @description ref
1022
* @param value
Callers
9
createElementNode
Function · 0.70
createNSElementNode
Function · 0.70
tech-study.js
File · 0.70
createTip
Function · 0.70
Select
Function · 0.70
Frame
Function · 0.70
ScoreItem
Function · 0.70
SettingsPanel
Function · 0.70
Panel
Function · 0.70
Calls
2
isRef
Function · 0.70
createRef
Function · 0.70
Tested by
no test coverage detected