Skip to content

Instantly share code, notes, and snippets.

@rstormsf
Created August 7, 2015 21:33
Show Gist options
  • Select an option

  • Save rstormsf/10de720a8cd51aadd5fa to your computer and use it in GitHub Desktop.

Select an option

Save rstormsf/10de720a8cd51aadd5fa to your computer and use it in GitHub Desktop.

Revisions

  1. rstormsf created this gist Aug 7, 2015.
    16 changes: 16 additions & 0 deletions todolist.js.jsx
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    class TodoList extends React.Component {
    constructor(props) {
    super(props);
    this.state = {name: "nope"};
    }

    render() {
    return (
    <ul>
    <li>Updated</li>
    <li id='status'>{this.props.name}</li>

    </ul>)

    }
    };