import React from 'react' import { hot } from 'react-hot-loader' import ViewContainer from 'components/ContainerComponents/ViewContainer/ViewContainer' export const App = () => { return <ViewContainer /> } /* Enable Hot Module Reload using `react-hot-loader` here We enable it here since App is the main root component No need to use it anywhere else, it sould work for all child components */ export default hot(module)(App)