Last active
April 15, 2018 07:33
-
-
Save MaximeHeckel/2f5f294e04977181112d6024fe3f7454 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
<Article> | |
<Article.Title /> | |
{/* | |
This will render if we use the sub-component pattern described in part 2, | |
but will be skipped with the one described in part 1 (the findByType util | |
mentioned in the post will simply not render "<div></div>" as it's not | |
a known sub-components of <Article/>. | |
*/} | |
<div>Hello World</div> | |
<Article.Metadata /> | |
<Article.Content /> | |
</Article> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment