Update CommentsRedux2.md

master
Matt Huntington 8 years ago committed by GitHub
parent df5d51dbcf
commit a2115a0ec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,13 +8,6 @@ The last section works, but there are some optimizations we can make
1. Map Redux State To The CommentsList Component 1. Map Redux State To The CommentsList Component
1. Map a Dispatch ADD Action to a CommentsForm Component property 1. Map a Dispatch ADD Action to a CommentsForm Component property
## Set Up
1. Copy the [comments_build_example](comments_build_example) directory from this repo. It's what we built [here](Comments.md)
1. Copy the `store.js` file we created for [this build](Redux.md) into the `js/` dir of the `comments_build_example` dir you just created in the previous step
1. Install redux with `npm install redux --save-dev`
1. Run `npm run build`
## Install `react-redux` ## Install `react-redux`
``` ```

Loading…
Cancel
Save