Skip to main content

# AppRoot()

    function AppRoot(props: AppRootProps): Element;

Root component for SDK-based applications. Provides Redux store, routing, theming, error boundaries, and session management.

## Parameters​

### props​

`AppRootProps`

AppRoot component props

## Returns​

`Element`

## Example​

    import { AppRoot, configureStore, history } from '@elliemae/pui-app-sdk';

    const store = configureStore({}, history);

    ReactDOM.render(
      <AppRoot store={store} history={history}>
        <App />
      </AppRoot>,
      document.getElementById('root')
    );