5 lines
85 B
JavaScript
5 lines
85 B
JavaScript
|
export function createRef(initialValue) {
|
||
|
return {
|
||
|
current: initialValue
|
||
|
};
|
||
|
}
|