In this project you will find an implementation of the react coding interview exercise you can find in the Beginner React.js Coding Interview (ft. Clément Mihailescu) video.
- Add a button that increase a counter and prints the number
- Add a button that interacts with an external api (
https://randomuser.me/api
) and prints the json object - Print the user as
title firstName lastname
- Use the paginator api (
https://randomuser.me/api/?page=1&seed=abc
) to add a new user when pressing the button
- useState
- useEffect
-
- run on startup
-
- async
-
- call useState inside useEffect
- typescript
-
- interface
-
- array
- props
- fragment
- useEffect
-
- run on custom event
npx create-react-app react-interview --template typescript
npm install axios
npm start