Giter VIP home page Giter VIP logo

todoapp's Introduction

TodoApp

A simple todo list application built using react native and redux.

Resources

For the Icons I used react-native-vector-icons - https://github.com/oblador/react-native-vector-icons

To get a grasp of how redux works - http://redux.js.org/docs/basics/ExampleTodoList.html

I also had a look at this repo as a guideline - https://github.com/ajwhite/ReactNative-Redux-Todo-List

What it can do

  1. Add to the list.

Just type in something in the input field click add and you will see it do its magic.

  1. Delete from the list (not to be mistaken with marking as complete).

Click on the trash can and it will delete the row from the list

  1. Mark complete

Click anywhere on the row (except the trash can) and you will see a nice check mark appear

From the command line

  1. clone the repo (I prefer to do cloning on Desktop)
  2. cd into the project
  3. npm install
  4. npm react-native run-ios

Purpose

Their were a few reasons I made this application first reason was to learn redux, I knew how to use it but was not sure how everything was connected. Secondly to write an application that is easy to understand so others can learn.

dispatch takes in an action i.e dispatch(addTodoAction) once this is called addTodoAction calls the reducer todoListReducer todoListReducer reducer updates the state of the application

todoapp's People

Contributors

giggi1226 avatar

Watchers

 avatar  avatar

Forkers

eduardogch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.