Using render callbacks to connect non-connected components

added by JavaScript Kicks
8/17/2018 2:40:24 AM

407 Views

The difference between a connected and a non-connected component, is that a connected component is subscribing to some kind of state, whereas a non-connected component has no awareness of any state, therefore "dumb." When developing scalable applications, you're more likely to create non-connected, "dumb" components, which may subsequently need to subscribe to some kind of state, like you would from a Redux store.


0 comments