Sign in
Log inSign up

Is it a good idea to use single connect function for all components in a Redux app?

Ade Viankakrisna Fadlil's photo
Ade Viankakrisna Fadlil
·Sep 21, 2016

Redux has a lot of boilerplate code. With this approach we can access any state and dispatch any actions with a single map state to props, which gives every component ALL state and actions. Are there any performance / maintainability issues with this approach?