Skip to content

Commit

Permalink
Improve import region
Browse files Browse the repository at this point in the history
The region tags and some comments have been added.
  • Loading branch information
schettn committed Nov 10, 2020
1 parent 53c82ca commit aad8361
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
//#region > Imports
//> React
// Contains all the functionality necessary to define React components
import React from "react";
// This serves as an entry point to the DOM and server renderers for React
import ReactDOM from "react-dom";
// DOM bindings for React Router
import { BrowserRouter as Router } from "react-router-dom";
import "./index.css";

//> Style sheet
// Root SCSS file
import "./index.scss";
//> Components
// Root component
import App from "./App";
//> Service Worker
import * as serviceWorker from "./serviceWorker";
//#endregion

//Render the root component to <div id="root"></div>
ReactDOM.render(
<React.StrictMode>
<Router>
Expand Down

0 comments on commit aad8361

Please sign in to comment.