import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import { initialize, getConfig, subscribe, APP_READY } from '@edx/frontend-platform'; import { AppContext, AppProvider } from '@edx/frontend-platform/react'; import Header from '@edx/frontend-component-header'; import './index.scss'; subscribe(APP_READY, () => { ReactDOM.render( {/* We can fake out authentication by including another provider here with the data we want */}
Logged out state
{/* We can fake out authentication by including another provider here with the data we want */}
Logged in state
, document.getElementById('root'), ); }); initialize({ messages: [] });