This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, {Component, Fragment} from "react"; | |
| import style from "./style.css"; | |
| class SignIn extends Component{ | |
| state = {username: '', password: ''} | |
| handleSubmit = (e)=>{ | |
| this.props.login(this.state.username, this.state.password); //dispatch | |
| e.preventDefault(); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var schema = new Schema({ | |
| name: { | |
| type: String, | |
| required: true | |
| } | |
| }); | |
| var Cat = db.model('Cat', schema); | |
| // This cat has no name :( | |
| var cat = new Cat(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Parte 1(Beginner) | |
| 1: https://classroom.udacity.com/courses/ud837/lessons/4619208555/concepts/45934490170923 | |
| 2: https://br.udacity.com/course/android-basics-multi-screen-apps--ud839/ | |
| 3: https://br.udacity.com/course/android-basics-networking--ud843/ | |
| 4: https://br.udacity.com/course/android-basics-data-storage--ud845/ |