News for hackers. Stuff that matters.
Re:Things to learn in React before using Redux by Kiro on Thursday July 20, 2017 @10:09AM (#14812552)
How will you solve two components deep down different branches that share state?
Re:Things to learn in React before using Redux by k__ on Thursday July 20, 2017 @11:19AM (#14813221)
for shared state I used localStorage/AsyncStorage and added an event emitter to it.
Re:Things to learn in React before using Redux by nrb on Thursday July 20, 2017 @12:02PM (#14813631)
What about scenarios where that's unavailable? E.g. Safari in private browsing mode?
Re:Things to learn in React before using Redux by k__ on Thursday July 20, 2017 @01:52PM (#14814775)
I use them for persistence, so state is kept between visits.

But in private mode I'd simply use an object as key-value-store.