mirror of
https://github.com/zoriya/flood.git
synced 2025-12-20 06:05:15 +00:00
What is the alphabet? From wikipedia: `An alphabet is a standard set of letters (basic written symbols or graphemes) which is used to write one or more languages based on the general principle that the letters represent phonemes (basic significant sounds) of the spoken language.` Why do we want `import`s to be alphabetized? Alphabetizing `import`s can make parsing them at a quick glance of the eyes easier.
33 lines
915 B
JavaScript
33 lines
915 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import Application from './components/layout/Application';
|
|
import ApplicationContent from './components/layout/ApplicationContent';
|
|
import Modals from './components/modals/Modals';
|
|
import Sidebar from './components/panels/Sidebar';
|
|
import TorrentActions from './actions/TorrentActions';
|
|
import TorrentDetailsView from './components/panels/TorrentDetailsView';
|
|
import TorrentListView from './components/panels/TorrentListView';
|
|
|
|
class FloodApp extends React.Component {
|
|
componentDidMount() {
|
|
TorrentActions.fetchLatestTorrentLocation();
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<Application>
|
|
<Sidebar />
|
|
<ApplicationContent>
|
|
<TorrentDetailsView />
|
|
<TorrentListView />
|
|
</ApplicationContent>
|
|
<Modals />
|
|
</Application>
|
|
);
|
|
}
|
|
}
|
|
|
|
|
|
ReactDOM.render(<FloodApp />, document.getElementById('app'));
|