Skip to content

useTimeAgo 配置 updateInterval = Duration.ZERO 依旧更新状态 #42

@junerver

Description

@junerver

useTimestampuseInterval 这两个基础 Hook 并没有做针对间隔时间interval 的参数的特殊处理,所以 useTimeAgo 需要针对 0值做特殊处理,才能实现:传递 0值 时不自动更新。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug(错误)Something isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions