Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xu22Web/tech-study-js
/ createRef
Function
createRef
tech-study.js:999–1001 ·
view source on GitHub ↗
(rawVal, shallow)
Source
from the content-addressed store, hash-verified
997
* @returns
998
*/
999
const
createRef = (rawVal, shallow) => {
1000
return
new
Ref(rawVal, shallow);
1001
};
1002
/**
1003
* @description 解除 ref
1004
* @param val
Callers
2
ref
Function · 0.70
shallowRef
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected