cra-structure-cli
Version:
A CLI with bootstrap create-react-app. Initiate react project. V2.0 supported typescript.
14 lines (10 loc) • 485 B
JavaScript
import React from 'react';
import ReactDOM from 'react-dom';
import App from './containers/App';
import store from './store';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(<App store={store} />, document.getElementById('root'));
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();