Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 519 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 519 Bytes
difficulty training chapter tags
1
true
Chapter 7: Challenge Roundup
vue

A Custom useNow Composable

In this challenge, you'll create a custom useNow composable.

Requirements

  1. The composable should NOT accept any arguments
  2. It should return a reactive ref that holds a current Date object
  3. The ref should update every 1 second so as to always represent the current time accurate to the second

screenshot of solution