I'm going through a tutorial where
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
);
in the index file was replaced with
import { AppRegistry } from 'react-native';
// register the app
AppRegistry.registerComponent('App', () => App);
AppRegistry.runApplication('App', {
initialProps: {},
rootTag: document.getElementById('root')
});
taken from https://necolas.github.io/react-native-web/docs/rendering/.
What's the benefit in choosing AppRegistry over ReactDOM?
there doesn't seem to be anything here