• This hook notifies the subscribers with the current date. This is useful for updating components that show moment in time without a full rerender of the tree.

    It notifies at the following points:

    • useEffect
    • first minute at zero seconds
    • every minute after at zero seconds

    However, due to the performance of the device, this may not be acurate.

    Returns

    subscription manager

    Returns SubscriptionManager<number>

Generated using TypeDoc