def useRef(default: str) -> Var:  # noqa: N802
    """Create a useRef hook with a default value.

    Args:
        default: The default value of the ref.

    Returns:
        The useRef hook.
    """
    return Var(
        _js_expr=f"useRef({default})",
        _var_data=VarData(imports=_compose_react_imports(["useRef"])),
    )
Create a useRef hook with a default value.

    Args:
        default: The default value of the ref.

    Returns:
        The useRef hook.
    
reflex/experimental/hooks.py