How to make components in React Native without using JSX? Use the below react example to make components in React Native without using JSX.
1 2 3 4 5 6 7 8 9 | var wazoo = React.createClass({displayName: "wazoo", render: function() { return ( React.createElement(View, {style: styles.container}, React.createElement(ScrollView, null, React.createElement(View, null, React.createElement(Text, {style: styles.welcome}, "Wazoo" ), |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.