redux-utilities/redux-actions

handleActions naming is confusing

Open

#47 创建于 2015年12月14日

在 GitHub 查看
 (15 评论) (4 反应) (1 负责人)JavaScript (6,540 star) (340 fork)batch import
help wanted

描述

Since handleActions returns a reducer, a proper name for it would be createReducer. I've tried to teach redux to a friend and it wasn't immediately apparent that handleActions returns a reducer. What do you think? I'm not adamant on createReducer, as it doesn't differentiate from handleAction. I just think that handleActions might not be the proper name for it.

贡献者指南