redux-utilities/redux-actions

handleActions naming is confusing

Open

#47 aperta il 14 dic 2015

Vedi su GitHub
 (15 commenti) (4 reazioni) (1 assegnatario)JavaScript (340 fork)batch import
help wanted

Metriche repository

Star
 (6540 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor