I’ve been pondering how the ReactJs Immutability Helpers relate to the use of Flux. This question on Stack Overflow piqued my interest:
I commented:
Brandon, I’ve wondered about the relationship between the state helpers vs. if you were using a datastore object inside of the flux framework. I tend to just have the top level component listen to the store, and set it’s own state, which propagates down to it’s children via props. I don’t bother with the mutation helpers or even with copying the data, since react components update the stores via messages, rather than touching the props values.
Any advice?