import React , { Fragment } from 'react' ; import '../libs/analytics' ; import { ErrorBoundary } from '../libs/bugsnag' ; import { AppNavigator } from '../navigation/AppNavigator' ; import { enableNetworkInterceptors } from '../network-interceptor' ; import { AppGlobalStyles } from './AppGlobalStyles' ; import { AppProviders } from './AppProviders' ; import { AppIconBadge } from './common/AppIconBadge' ; import { UnreadCountProvider } from './context/UnreadCountContext' ; enableNetworkInterceptors ( ) ; const StrictModePlaceholder = Fragment ; export function App ( ) { return ( < StrictModePlaceholder > < ErrorBoundary > < AppProviders > < AppGlobalStyles key = "app-global-styles" / > < AppNavigator key = "app-navigator" / > < UnreadCountProvider > < AppIconBadge /> < /UnreadCountProvider> < /AppProviders> < /ErrorBoundary> < /StrictModePlaceholder>); }