Using createSlice vs createReducer in `redux-starter-kit`

Опубликовано: 24 Май 2026
на канале: swyx
3,024
19

Using createSlice vs createReducer in `redux-starter-kit`

note: this is an unrehearsed livestream, will be rough

Up til now I was porting old redux code, so I naturally used createReducer as it has a 1:1 correspondence, but Acemarke pointed out that createSlice exists to simplify exactly my kind of usecase.

starting code: https://glitch.com/edit/#!/createslic...