The description of Redux project is:
Redux is a predictable state container
Can explain to me what \"predictable\" word meaning in t
You first have to understand how Redux works. There are few key principles:
(state, action) => state
)So you can see that this is all unidirectional (changes flow one way only):
state -> action -> reducer -> state -> action -> reducer -> state ...
Redux is heavily inspired by Elm architecture and encourages functional programming principles, one of them being pure functions (they produce no side effects (like http calls, disk reads) and their output is always the same for the same input).
Every single state change in reducers has to be taken care by developers explicitly. Also all reducers are supposed to be pure. That's where the predictability comes from.
So to summarize, predictable in this context means, that using Redux you'll know what every single action in application will do and how state will change.