-
Notifications
You must be signed in to change notification settings - Fork 131
Conversation
Thanks but the binding is already done by See https://github.com/zenparsing/es-function-bind Is it not working? |
My bad... I removed the :: when adopting your code to my ESLint standards, as it was marked as an error. Wasn't aware that I caused the problem this way. Any reason why you don't use the connect() method to bind store and router when initializing the Application component? (as in the Redux todo-example). Thanks for the great skeleton project by the way! |
Ok :)
Glad it helps! ;)
Hmm, not sure I understand what you mean... |
I'm very new to Redux/React, so it is probably something I'm missing. But I am trying to reconcile the differences between your app and the examples on the Redux 1.0 documentation. In your Login component the store and router are part of this.context. In the Redux todo-example, they are bound to this.props. (See containers/App.js at http://gaearon.github.io/redux/docs/basics/ExampleTodoList.html) |
Also, any reason why you use a constructor to bind this in lib/components/github/Explore.js and not the :: syntax? I understand that this branch is not really published and it's logical that there are inconsistencies. But as a beginner it is hard to see which variations are due to "work in progress" and which ones have an underlying reason... |
Good points, will try to answer them tonight (currently quite busy with work) :) Thanks! |
great; looking forward to it! |
Well, since I have to transition I need the In general, try to avoid using
You're right, it's not consistent.
I know, I actually wanted to merge the login branch (need some more cleanup) and add JSDoc or comments to explain some of the choices. Unfortunately I'm extremely busy with work atm, I hope to find some time soon. Hope this answer your question, otherwise feel free to ask more :) |
No description provided.