This file contains 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
export const AddItem = (item) => ({ | |
type: "ADD_ITEM", | |
item: item | |
}) | |
export const DeleteItem = (id) => ({ | |
type: "DELETE_ITEM", | |
itemId: id | |
}) |
This file contains 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 from "react"; | |
import ReactDOM from "react-dom"; | |
import Redux from "redux"; | |
import { connect} from "react-redux"; | |
import {AddItem} from "../../Actions/ToDoActions"; | |
import Grid from 'react-bootstrap/lib/Grid'; | |
import Row from 'react-bootstrap/lib/Row'; | |
import Col from 'react-bootstrap/lib/Col'; |
This file contains 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 from "react"; | |
import { Route, IndexRoute} from "react-router"; | |
import Layout from "./components/Layout"; | |
import Index from "./components/Index"; | |
import Help from "./components/Help/Help"; | |
import NotFoundPage from "./components/NotFoundPage"; | |
const routes = ( |
This file contains 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
{ | |
"name": "isomorphictodolist", | |
"version": "1.0.0", | |
"description": "Creating an isomorphic todolist using react-redux and express", | |
"main": "index.js", | |
"dependencies": { | |
"babel-cli": "^6.18.0", | |
"babel-core": "^6.14.0", | |
"babel-loader": "^6.2.5", | |
"babel-plugin-react-html-attrs": "^2.0.0", |
NewerOlder