1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/packages/unleash-frontend/public/js/app.jsx

12 lines
359 B
React
Raw Normal View History

2016-06-18 21:53:18 +02:00
'use strict';
const React = require('react');
const Router = require('react-router');
const UserStore = require('./stores/UserStore');
const routes = require('./routes');
2015-03-27 10:55:42 +01:00
UserStore.init();
2016-06-18 21:53:18 +02:00
Router.run(routes, Handler => {
2015-03-27 10:55:42 +01:00
React.render(<Handler/>, document.getElementById('content'));
});