@airbnb/lunar-app-shell
Application shell powered by Lunar.
Last updated 4 months ago by milesj .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @airbnb/lunar-app-shell 
SYNC missed versions from official npm registry.

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'),
);

Current Tags

  • 3.0.2                                ...           latest (4 months ago)
  • 2.2.0-alpha.0                                ...           next (10 months ago)

31 Versions

  • 3.0.2                                ...           4 months ago
  • 3.0.1                                ...           4 months ago
  • 3.0.0                                ...           5 months ago
  • 2.3.2                                ...           6 months ago
  • 2.3.1                                ...           6 months ago
  • 2.3.0                                ...           8 months ago
  • 2.2.2                                ...           9 months ago
  • 2.2.1                                ...           10 months ago
  • 2.2.0                                ...           10 months ago
  • 2.2.0-alpha.1                                ...           10 months ago
  • 2.2.0-alpha.0                                ...           10 months ago
  • 2.1.6                                ...           10 months ago
  • 2.1.5                                ...           a year ago
  • 2.1.4                                ...           a year ago
  • 2.1.3                                ...           a year ago
  • 2.1.2                                ...           a year ago
  • 2.1.1                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 2.0.0-rc.0                                ...           a year ago
  • 2.0.0-alpha.1                                ...           a year ago
  • 2.0.0-alpha.0                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 1.0.0-alpha.1                                ...           a year ago
  • 1.0.0-alpha.0                                ...           a year ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 31
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |