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.
- React.js
- Axios
Created with Create React App.
-
Clone this repository
-
Use the NPM scripts
-
Install the dependencies
npm i
-
Running in development mode
npm run start
-
Create production build
npm run build
-