Closed gaearon closed 9 years ago
This rewrites the Redux example to a more idiomatic way. Changes:
product
connect()
bindActionCreators
This rewrites the Redux example to a more idiomatic way. Changes:
product
s are no longer passed into actions because the data in state is sufficientconnect()
calls are removedbindActionCreators
we let React Redux do the binding