Skip to content

Add key prop to useCountdown hook for refreshing #247

Description

@tfkennedy777

These props work perfectly on the CountdownTimerCircle component, and as a workaround, what I'm trying to achieve can be done by using the component with display: 'none' style. However, it would be awesome to have these props supported by the hook itself. This way I can do const { elapsedTime} = useCountdown({ key: key, initialRemainingTime: time, ... }) and avoid using the component unnecessarily.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions