With the new ReduxStoreWithHistory class, I noticed that we can override both the Dispatch and Reduce methods in derived class.
The first behavior of the Store class was to only allow overriding of Reduce function because the Dispatch function is internal and should remain as so.
So, I propose to use new instead of override keyword.
With the new
ReduxStoreWithHistory
class, I noticed that we can override both theDispatch
andReduce
methods in derived class.The first behavior of the Store class was to only allow overriding of
Reduce
function because theDispatch
function is internal and should remain as so.So, I propose to use
new
instead ofoverride
keyword.