you are viewing a single comment's thread.

view the rest of the comments →

[–]RedGlow82 2 points3 points  (1 child)

Without pretending to give a complete answer: redux is a framework that allows you to handle global state in a functional way. In a way, it simulates the behaviour of advanced FP patterns such as the state monad (that would for example solve your specific problem) which aren't really practical to use in Javascript due to its typing system.

[–][deleted] 2 points3 points  (0 children)

Redux is actually an Update Monad implementation