Last active
October 11, 2018 15:19
-
-
Save codeithuman/92c976b0d18764f46b2a5351b5768caf to your computer and use it in GitHub Desktop.
Simple example of HTML vs React Native
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
// React w/ HTML | |
<div> | |
<p>This is HTML w/ React</p> | |
<MyWidget /> | |
</div> | |
// React Native | |
<View> | |
<Text>This is React Native</Text> | |
<MyWidget /> | |
<View> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment