I have a much better implementation here: https://gist.github.com/Arthraim/143fe7a4166f752ff82ef1cf5ef9128c redux.swift An extremely easy implementation of Redux in Swift 4