reading-notes

View the Project on GitHub TrunkOfUkuleles/reading-notes

class 04 reading

Forms

tags in forms are important. A lot of time the design has you tracking where peices of information are to feed back into the database. For constructor functions you should initialize this.state.vale so it renders with data in there. Other options include:

: input for the user to upload a file. Uncontrolled

For ES6 you can update state with source

            this.setState({
                [name]: value
            });