@thinkeloquent/react-app-shell

0.0.5 • Public • Published

Install

run npm install

Npm Commands

npm run test npm run start npm run start:inline

Examples

Basic Example

index.js

import reactAppBootstrap from './react-app-shell';
import Shell from './shell';
Shell.hotReloadAccept = './shell';

const shell = reactAppBootstrap(document.getElementById('root'));
const app = shell(Shell);

app({
  a: 2
});

shell.js

import React from 'react';

const Shell = (appState) => {
  return (
    <div className="container">
      <h1>hello</h1>
      <p>Some children here...</p>
    </div>
  )
}

export default Shell;

Readme

Keywords

none

Package Sidebar

Install

npm i @thinkeloquent/react-app-shell

Weekly Downloads

0

Version

0.0.5

License

ISC

Last publish

Collaborators

  • thinkeloquent