Skip to content

Connecting multiple components in a component ownership hierarchy, is it advisable? #966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jpierson opened this issue Oct 28, 2015 · 1 comment
Labels

Comments

@jpierson
Copy link

I'm just starting out with React and Redux and am questioning one of my first implementations in which I connect redux to a root component but for some high level components that sit right under the router I would rather make these smart components as well. Is it advisable or even intended to have multiple components within a single path in the component ownership hierarchy connected directly via a call to connect? Perhaps it is what is intended but for some reason it feels wrong to me like I'm overwriting some inherited context.

@jpierson jpierson changed the title Connecting multiple components in an component ownership hierarchy, is it advisable? Connecting multiple components in a component ownership hierarchy, is it advisable? Oct 28, 2015
@gaearon
Copy link
Contributor

gaearon commented Oct 28, 2015

Yes, having multiple connected components is fine.
#419

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants