Last active: 2 years ago
Implement the state queue yourself
export const getFinalState = (baseState, queue) => queue.reduce( (prev, cur) => (Function.prototype.isPrototypeOf(cur) ? cur(prev) : cur), baseState );