Created
January 30, 2019 06:30
-
-
Save leslie-alldridge/b034dc76ca30d45cfbc9d2f93de8ebd5 to your computer and use it in GitHub Desktop.
props react linkedin
This file contains hidden or 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
<PropsPage name="Chief" age="22" reset={this.resetClick} /> | |
The information above is available in props, such as {props.age}, {props.name} and {props.reset}. This allows our child | |
components to communicate backwards to the Parent Component - all while listening and waiting for any changes in props that | |
happen as a result. | |
In short, my PropsPage component now has extra data being pushed into it from an external source (external to the component itself). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment