[go: up one dir, main page]

0% found this document useful (0 votes)
31 views1 page

SRC Index - TSX

This document contains a React application setup code. It imports necessary modules, including React, ReactDOM, and a CSS file, and then renders the main App component into the root element of the HTML. The application is wrapped in React's StrictMode for highlighting potential problems in the application.

Uploaded by

sopnil260
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views1 page

SRC Index - TSX

This document contains a React application setup code. It imports necessary modules, including React, ReactDOM, and a CSS file, and then renders the main App component into the root element of the HTML. The application is wrapped in React's StrictMode for highlighting potential problems in the application.

Uploaded by

sopnil260
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

import React from "react";

import ReactDOM from "react-dom/client";


import "./index.css";
import App from "./App";

const root = ReactDOM.createRoot(


document.getElementById("root") as HTMLElement
);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);

You might also like