## 概要 [Task3696: ツールの雛形作成](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3696) - DevContainerを追加 ## レビューポイント - 特になし ## 動作確認状況 - ローカルで確認
24 lines
699 B
TypeScript
24 lines
699 B
TypeScript
import { store } from "app/store";
|
|
import React from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
import { Provider } from "react-redux";
|
|
import App from "./App";
|
|
import * as serviceWorker from "./serviceWorker";
|
|
|
|
const container = document.getElementById("root");
|
|
if (container) {
|
|
const root = createRoot(container);
|
|
root.render(
|
|
<React.StrictMode>
|
|
<Provider store={store}>
|
|
<App />
|
|
</Provider>
|
|
</React.StrictMode>
|
|
);
|
|
}
|
|
|
|
// 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();
|