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.

貢獻者指南

handleActions naming is confusing · redux-utilities/redux-actions#47 | Good First Issue