This project is designed to give you an opportunity to build something from scratch and to teach you how to build a react application. The instructions give you a rough idea of what order to do things in, but there won't be any guidance or solutions on how to write the code itself.
Start by running create-react-app .
in the root of this project, this will create a new react application without creating a new directory.
Select one of the following apps to clone, or get mentor approval for your own idea. All ideas must meet a minimum requirement of using an event handler, a child component that receives a function from its parent, invokes the function, and updates parent state.
Name is in list
Awful Calculator
Todo List
- Setup state in App.js
- Create and import a child component
- Render Child Component, passing any props it will need to work. Remember, if you pass a function down, you'll want to bind it in the parent component.
- Inside child component invoke a passed in function using an event handler. (A good example of this would be onClick/onChange)
Once you have completed all of these tasks, show your work to your mentor for approval then push to github.
If you see a problem or a typo, please fork, make the necessary changes, and create a pull request so we can review your changes and merge them into the master repo and branch.
© DevMountain LLC, 2018. Unauthorized use and/or duplication of this material without express and written permission from DevMountain, LLC is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to DevMountain with appropriate and specific direction to the original content.