Skip to content

This repository shows you how to build a countdown timer in React.js using vanilla javascript and React's useEffect hook.

Notifications You must be signed in to change notification settings

lyraddigital/react-useeffect-countdown-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Hooks Countdown Timer

This repository demonstrates how to use the useEffect hook as well as creating your own hook React.js to implement a countdown timer.

Breakdown

This repository contains 2 branches. Each branch contains the following.

  • Startup: Contains the code before implementing the countdown timer logic
  • Main: Contains the finished product, which includes a working countdown timer.

Development server

This project can be ran locally. Upon forking this repository, you just need to run the following commands

  • npm install
  • npm start

Watch on YouTube

A YouTube video on how this control works will be uploaded shortly. I will place the link here once this is complete.

About

This repository shows you how to build a countdown timer in React.js using vanilla javascript and React's useEffect hook.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published