After doing much research I found out that Redux and Alt are two really popular flux implementations.
I also found that Alt is more of traditional flux pattern and Redux is slightly different from the traditional flux. In Redux, the state is stored as immutable tree which means there will be a new object created for every change.
Now coming to my question, I have a requirement to develop a WYSIWYG authoring platform. This means that the contents of this app will keep changing every few seconds.
So does this mean that using Redux for this app will be a bad option as there will be thousands of objects in the memory as we start editing the content. Is alt implementation a better option?
Which flux implementation makes more sense?
Thank you.
I haven't seen any evidence that Redux's immutability paradigm is bad for performance. (I don't say that to be rude or dismissive, I would love to see the evidence if it exists.)
Frankly I don't think what you choose as your data layer is a major concern here. In a WYSIWYG app, the bulk of your complexity is going to be in the view layer.
My advice would be to make sure you write your app in a way that the data layer can easily be swapped out and replaced. That way, if you do find your chosen framework is a performance hog, you can easily replace it.