aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/index.js
blob: 74e36d8475c7c733627d46ecd531a2902058ee07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import React from 'react';
import ReactDOM from 'react-dom';
import Loadable from 'react-loadable';

const Juick = Loadable({
  loader: () => import('./App'),
  loading: () => <div>Loading...</div>
});

const JuickApp = () => (
  <Juick />
);

ReactDOM.render(<JuickApp />, document.getElementById('body'));