def const(name: str | list[str], value: str | Var) -> Var:
    """Create a constant Var.

    Args:
        name: The name of the constant.
        value: The value of the constant.

    Returns:
        The constant Var.
    """
    if isinstance(name, list):
        return Var(_js_expr=f"const [{', '.join(name)}] = {value}")
    return Var(_js_expr=f"const {name} = {value}")
Create a constant Var.

    Args:
        name: The name of the constant.
        value: The value of the constant.

    Returns:
        The constant Var.
    
reflex/experimental/hooks.py