Redux without switch-cases (and some other tips)