Skip to content

Commit aad8361

Browse files
committed
Improve import region
The region tags and some comments have been added.
1 parent 53c82ca commit aad8361

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/index.tsx

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
1+
//#region > Imports
2+
//> React
3+
// Contains all the functionality necessary to define React components
14
import React from "react";
5+
// This serves as an entry point to the DOM and server renderers for React
26
import ReactDOM from "react-dom";
37
// DOM bindings for React Router
48
import { BrowserRouter as Router } from "react-router-dom";
5-
import "./index.css";
9+
10+
//> Style sheet
11+
// Root SCSS file
12+
import "./index.scss";
13+
//> Components
14+
// Root component
615
import App from "./App";
16+
//> Service Worker
717
import * as serviceWorker from "./serviceWorker";
18+
//#endregion
819

20+
//Render the root component to <div id="root"></div>
921
ReactDOM.render(
1022
<React.StrictMode>
1123
<Router>

0 commit comments

Comments
 (0)