2 ms·
I don't understand what this "cognitive burden" and "refactoring" is, either. Connecting an existing component simply means: declaring a `mapStateToProps` and
by williamdclt 9y ago
I don't understand what this "cognitive burden" and "refactoring" is, either.
Connecting an existing component simply means: declaring a `mapStateToProps` and `mapDispatchToProps` and exporting a `connect(...)(Component)`. Where's the refactoring?