This is a basic app to showcase simple React functionality.
It is meant to accompany this tutorial
fork
git clone
cd react-todo-intro
npm install -g yarn // if yarn is not already installed on your machine
yarn install
yarn start
- Once you have started the app, look at it in the browser and observe its behavior. Click all the buttons to see what they do. Take a look at the code.
- Notice that styles have been added so that you can see which components are rendered in the browser.
- Once you have looked at the app and the code, complete the following:
- Connect the
Addbutton to an input so that you can add your own ToDos. - In the
UserViewcomponent, display the user's last name and make it editable. - Answer this question: When you change the user's name in the
UserViewcomponent, does it changestate.userin the App component? Prove your answer by displaying the name in App component and observe it if changes.
- Connect the