Learn Redux Starter files
This repo includes the learn-redux
folder which is where you will build your application as well as a number of partially finished client
folder contents that correspond with the start of each video. These stepped folders should be used to reference or restore your application if things aren't working 100%.
There are only folders for videos which have significant changes.
Getting Started
Fork or download this repo and run npm install
in the learn-redux
folder with the package.json
file.
Pull Requests
Pull requests that fix dependencies between the videos and this repo are welcome as long as they correspond with the code written in the videos.
FAQ / Help
Before anything, make sure you are on the latest node. You can run node -v
and if you have anything less than 5.x
, you'll need to update. The files will probably work on older versions, but in my experience 80% of issues go away with an update.
ref
is not a prop. Trying to access it will result in undefined
being returned. If you need to access the same value within the child component, you should pass it as a different prop.
Q: I'm getting: warning.js:44 Warning: Main: A:: I haven't looked into why I didn't get this error, but it means that you should not pass down key
or ref
because those are props that are tied and unique to each element. For now, there is a nice fix posted here
Q: I'm getting Unexpected Token Error
A: You probably don't have the .babelrc
file in your learn-redux
folder. This makes sure that you have all the right transpile dependencies. Grab it from here.
Q: How do I download these videos?
A: I made a video for exactly this.
Q: What theme and font are you using?
A: Cobalt2 and Operator Mono. I wrote a bit of info here β http://wesbos.com/uses