Thank you, Eric! I'm glad you found it helpful! :)
Not passing props to the constructor would work just fine, since we aren't using them anywhere inside the constructor function.
Also, when you do super(props) it makes props available on the component instance, inside the constructor. In other words, if you want to use this.props inside the constructor, then use super(props).
React sets .props on the instance from the outside immediately after calling the constructor; making this.props available outside the constructor.
Could you please explain the reasoning behind your source directories such as /lib and /components?
Thanks for a great tutorial. I think there's a mistype in Part 3, setting up babel. I think babel-preset-W (in the npm install command) and babel-preset-2015 (in the explanation list) should both be babel-preset-es2105. Am I right? I didn't find any packages with these names.
Hey, good write up! Any tips for where to find a next stage article? Pref something covering concepts like authentication or interacting with databases?
Thanks for the tutorial. I have though one question. Is there a particular reason for declaring S4 function inside the guidGenerator and not outside of it?
Every time one calls guidGenerator, S4 gets declared again.
Lol, the more I read these to-do tutorials, the more confusing they get...
flatlinediver
Thanks a lot for the tutorial, it's been very helpful.
Quick note, I think you've missed the props on the TodoApp.js snippet:
constructor(props) { super(props);