These examples from demos don't work for me!

import {render} from 'react-dom';
const styles ={ fontFamily: 'sans-serif',textAlign: 'center'};
const App = (props) => (<div style={styles}><h2>{props.count}</h2></div>);
let count = 0
setInterval(()=> render(<App count={count++} />, document(getElementById('root'))), 1000);

This fails with :
No default export of ‘App.js’ to render!

Hello @MarcoPolo, do you have a link for those examples?I’m not a React Native expert but it seems that you’re trying to run react code into react native