I think it comes down to the approach taken to explain the various frameworks. That can be a big deal because most programmers follow the tutorials and stick with them rather than working it out for themselves. I’d say that you can do much the same thing both frameworks with some helper functions. Both frameworks are tiny.
The main differences seem to be that Alt encourages more than one store and dependencies between them. Redux encourages a single store. One area that might be an issue although I doubt it is store contention. Redux simplifies this somewhat by insisting on immutable state and using state reducers as opposed to setter methods (ie old state in, new state out). I’m finding it hard to envisage situations where contention will happen. Javascript is single threaded after all.
Wow, first time I see the percentage of Show Answers.
LikeLike
zwgy.blogspot.com.eg – محامى متخصص فى توثيق زواج الاجانب 01287777888 المستشار كريم ابواليزيد
LikeLike
Yeah that’s weird. I take that to mean “dunno”.
LikeLike
We use AltJS.
LikeLike
I hadn’t been aware of Alt. Thanks for the pointer.
I can see it takes a slightly more direct route than redux, more OO less ceremony.
LikeLike
Alt to me seems more flexible in the long run. Redux is a bit prescriptive.
LikeLike
I think it comes down to the approach taken to explain the various frameworks. That can be a big deal because most programmers follow the tutorials and stick with them rather than working it out for themselves. I’d say that you can do much the same thing both frameworks with some helper functions. Both frameworks are tiny.
The main differences seem to be that Alt encourages more than one store and dependencies between them. Redux encourages a single store. One area that might be an issue although I doubt it is store contention. Redux simplifies this somewhat by insisting on immutable state and using state reducers as opposed to setter methods (ie old state in, new state out). I’m finding it hard to envisage situations where contention will happen. Javascript is single threaded after all.
LikeLike