@airbnb/lunar-app-shell
v3.0.2
Published
Application shell powered by Lunar.
Downloads
165
Keywords
Readme
Lunar AppShell
A root component that should wrap your entire application.
yarn add @airbnb/lunar-app-shell
Usage
The AppShell
is designed to wrap an entire React application, and as such, should primarily be the
root component in the application tree (excluding HMR and other wrappers/providers). For example:
import React from 'react';
import ReactDOM from 'react-dom';
import AppShell from '@airbnb/lunar-app-shell';
import App from '../local/components/App';
ReactDOM.render(
<AppShell name="Lunar">
<App />
</AppShell>,
document.getElementById('root'),
);