Created
August 13, 2015 16:45
-
-
Save smontlouis/39e3d26d67ad8e293e34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<App> | |
<Component> | |
<Component2> | |
<Component3> | |
<Child/> | |
</Component3> | |
</Component2> | |
</Component> | |
</App> | |
//Child.react.js | |
import {featureCursors} in './Cursors'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<App> | |
<Component {...this.props}> | |
<Component2 {...this.props}> | |
<Component3 {...this.props}> | |
<Child name={propsToPass}/> | |
</Component3> | |
</Component2> | |
</Component> | |
</App> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<App> | |
<Component propsToPass={name}> | |
<Component2 propsToPass={name}> | |
<Component3 propsToPass={name}> | |
<Child name={propsToPass}/> | |
</Component3> | |
</Component2> | |
</Component> | |
</App> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment