Removed dependency on react/lib/ExecutionEnvironment
I encountered this error while watching video 3.2:
Error: cannot find module 'react/lib/ExecutionEnvironment'
So, since I barely know what I am doing, I copied a solution from one of the redux examples:
https://github.com/rackt/redux/tree/master/examples/todomvc
And it seems to work, but probably needs to be fixed in all the other branches, too.
Just to clarify, the error I got here was this:
Error: Cannot find module 'react/lib/ExecutionEnvironment'
and here is the commit I copied from redux:
https://github.com/rackt/redux/commit/7f5199e01666ef7e257464f0889558eddf30c1f2
Again, I don't know if this is right!
@intrepion this is interesting. You got that error because you're not running the exact version of React 0.14 that I am (I was on 0.14-beta1), and it seems things got shifted around for 0.14 final release.
However I do really like the redux solution to this problem. I'll need to figure out how we can fix this both here in the repository, but also in the video series.