News for hackers. Stuff that matters.
Re:Things I Don’t Know as of 2018 by freehunter on Sunday December 30, 2018 @01:13PM (#18790469)
It very well could be a problem with the tutorial I was using, where the author leaned too heavily on using Redux for everything. I wildly scaled back my usage of Redux after I got going. It's just too many moving parts, and I've never figured out how to debug it when something doesn't work. I end up with 'console.log("we made it to the action")' and 'console.log("we made it to the reducer")' and then 'console.log("we made it to mapstatetoprops")' followed by 'console.log("so why the hell is this.state.fbToken still null!?")'. Then I come to find out I forgot to add auth_reducer to the combineReducers in my reducers/index.js.

I can't count the number of hours I've lost to stuff like this.

There are no comments on this comment yet.