-
-
Save ayroblu/687126f4e137b7957a21231f84c54a7e to your computer and use it in GitHub Desktop.
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
<div onClick={reRenderMe}> // onClick to force re-render | |
<FirstComp> // This one will also re-render because children | |
<SecondComp /> // This one will not | |
</FirstComp> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment