a clock example with react