AppRegistry.registerComponent('main', () => withExpoRoot(component));
if (Platform.OS === 'web') {
const rootTag = document.getElementById('root') ?? document.getElementById('main');
AppRegistry.runApplication('main', { rootTag });
}
}
This code runs on android via the expo app in android but it won't run on the web browser.
it runs smoothly on android but when I start it on the web using the expo tool it throughs error with some internal library raising too many renders error, I know why too many renders happens but where it is happening it won't show it
it is currently on my git hub profile https://github.com/Pyrex01/Ecom-Frontend