Skip to content
Snippets Groups Projects
App.jsx 438 B
Newer Older
  • Learn to ignore specific revisions
  • Hugo NOUTS's avatar
    Hugo NOUTS committed
    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)