Basic (React.js) (sticky-notes style) To Do App
Just a basic react with draggable sticky-notes like to do's.
renderForm: function() {
return (
<div className="note" style={this.style}>
<textarea ref="newText" defaultValue={this.props.children}
className="form-control"></textarea>
<button onClick={this.save} className="btn btn-success btn-sm glyphicon glyphicon-floppy-disk" />
</div>
)
},
Learning react.js techniques and patterns.
.
├── /build/ # Build directory
│ ├── /Board.js # Board class
│ ├── /main.js # Main app
│ └── /Note.js # Note class
├── /css/ # CSS folder
│ └── /style.css # Basic CSS stylesheet
├── /js/ # JavaScript folder
│ ├── /Board.js # Board class source
│ ├── /main.js # Main app source
│ └── /Note.js # Note class source
├── /node_modules # Dependancies source
├── .gitignore # Version control omission file
├── index.html # Main entry point
├── package.json # Dependencies management file
├── README.md # This file
└── todo-react-basic.png # Picture
Checkout this repo, install dependencies, then open index file with the following:
> git clone git@github.com:Bartekus/todo-react-basic.git
> cd todo-react-basic
> npm install
> open index.html
Use to add/edit/delete tasks without persistence (no backend).
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
0.1.0 Finalized the example
Basic non-automated manual browser test aka no test :P
Standing on the shoulders of all the giants before me.
- Homepage: http://bartekus.com
- E-mail: bartekus@gmail.com
- Twitter: @Bartekus
Copyright (c) 2015 Bartek Kus
Licensed under the MIT license