redux-utilities/redux-actions

handleActions naming is confusing

Open

#47 opened on 2015年12月14日

GitHub で見る
 (15 comments) (4 reactions) (1 assignee)JavaScript (6,540 stars) (340 forks)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.

コントリビューターガイド