Description
A lot of the examples and discussion in general do not seem to place much importance on being able to extract components into npm modules for re-use.
How does the community feel about this as a design consideration?
Say I have a component with a couple of nested components, I'd like the ability to be able to extract this into a component and publish it on npm. For this to be easy, everything needs to be passed in as props at the top. @gaearon started a good thread on SO about how to deal with nesting.
It would be great if the docs could provide some examples for these nested use cases, and would suggest a best practice.
The problem I ran into with feeding everything down from the top is performance, with a small change to a deeply nested component requiring a complete re-render.
It would be ideal if everything supported props, and then I could bind certain components state when its neccessary for performance reasons. Maybe a way to pass store bindings as props?