Trustiics Interview Question

Why the reducer should be a pure function?