Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 900 Bytes

README.md

File metadata and controls

41 lines (25 loc) · 900 Bytes

React Effects And Refs Exercise: Card Drawer

Description:

Check it out

You can either draw a card with a click of a button until you reach the end of the deck, or click another button to draw a card contiuously every second until you toggle it to stop. This application was made with the Deck of Cards API and made possible with React's useState, useEffect, and useRef.

Tools used:

  • React.js
  • Axios

Setup & Running

Created with Create React App.

  1. Clone this repository

  2. Use the NPM scripts

    • Install the dependencies

      npm i 
    • Running in development mode

      npm run start
    • Create production build

      npm run build