回答編集履歴
2
誤字修正
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
React 1
|
1
|
+
React 18 では src/index.js の書き方が変わったので、次のように 17 の書き方に戻せば動くと思います。
|
2
2
|
|
3
3
|
```js
|
4
4
|
import React from 'react';
|
1
誤字修正
test
CHANGED
@@ -17,4 +17,5 @@
|
|
17
17
|
// If you want to start measuring performance in your app, pass a function
|
18
18
|
// to log results (for example: reportWebVitals(console.log))
|
19
19
|
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
20
|
-
reportWebVitals();
|
20
|
+
reportWebVitals();
|
21
|
+
```
|