redux-utilities/redux-actions

handleActions naming is confusing

Open

#47 opened on Dec 14, 2015

View on GitHub
 (15 comments) (4 reactions) (1 assignee)JavaScript (340 forks)batch import
help wanted

Repository metrics

Stars
 (6,540 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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.

Contributor guide