package
1.5.4
Repository: https://github.com/dannypsnl/redux.git
Documentation: pkg.go.dev

# Structs

Reducer provide a readable structure help you build reducer more rematchable Example: var r rematch.Reducer func init() { r = Reducer { State: 0, Reducers: rematch.Reducers { "INC": func(s interface{}, a action.Action) interface{} { return s.(int) + 1 } }, } } !Note: the limit at here is store using function address generate reducer name, so we have to use Reduce and a func proxy to using rematch Reducer.

# Type aliases

Reducers let we can meta reducer group much more readable.