Skip to content

Commit 51ed46b

Browse files
committed
finish chapther 5 JSX
1 parent 54dff01 commit 51ed46b

File tree

6 files changed

+20
-10
lines changed

6 files changed

+20
-10
lines changed

01-hello/02-hello-world/.vscode/settings.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"editor.formatOnSave": false,
3+
"editor.lineNumbers": "on",
4+
"editor.rulers": [
5+
80
6+
],
37
"editor.tabSize": 2,
4-
"editor.tokenColorCustomizations": {
5-
"semanticHighlighting": true
6-
},
78
"editor.wordWrap": "on",
89
"files.insertFinalNewline": true,
910
"files.trimTrailingWhitespace": true,

04-typescript/08-config/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"allowSyntheticDefaultImports": true,
1313
"strict": true,
1414
"forceConsistentCasingInFileNames": true,
15+
"noFallthroughCasesInSwitch": true,
1516
"module": "esnext",
1617
"moduleResolution": "node",
1718
"resolveJsonModule": true,

05-jsx/02-jsx-usage/.vscode/extensions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"recommendations": [
77
"coenraads.bracket-pair-colorizer",
88
"dbaeumer.vscode-eslint",
9+
"donjayamanne.githistory",
910
"esbenp.prettier-vscode",
1011
"msjsdiag.debugger-for-chrome",
11-
"ms-vsliveshare.vsliveshare",
1212
"oderwat.indent-rainbow",
1313
"stylelint.vscode-stylelint",
1414
"VisualStudioExptTeam.vscodeintellicode",
+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"editor.formatOnSave": false,
3+
"editor.lineNumbers": "on",
4+
"editor.rulers": [
5+
80
6+
],
37
"editor.tabSize": 2,
4-
"editor.tokenColorCustomizations": {
5-
"semanticHighlighting": true
6-
},
78
"editor.wordWrap": "on",
89
"files.insertFinalNewline": true,
910
"files.trimTrailingWhitespace": true,
10-
"npm.packageManager": "yarn",
11-
"typescript.tsdk": "./node_modules/typescript/lib"
11+
"npm.packageManager": "yarn"
1212
}

05-jsx/02-jsx-usage/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"resolveJsonModule": true,
1919
"isolatedModules": true,
2020
"noEmit": true,
21-
"jsx": "react-jsx"
21+
"jsx": "react"
2222
},
2323
"include": [
2424
"src"

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
### 全体
77

8+
- 主なパッケージの対応バージョンを以下にアップデート
9+
- **React** 17.0.0 RC1 → 17.0.1
10+
- **Create React App** 3.4.3 → 4.0.1
11+
- **TypeScript** 4.0.2 → 4.1.2
812
- 「Visual Studio Code」の略称表記を「VSCode」から「VS Code」に修正
913
- 「Mac OS」と表記していたものを「macOS」に修正
1014
- 「ビルトインオブジェクト」と表記していたものを「組み込みオブジェクト」に変更
@@ -23,6 +27,10 @@
2327
- 「4-5. さらに高度な型表現」に新しく「条件付き型とテンプレートリテラル型」項を追加
2428
- 「4-5. さらに高度な型表現」の「組み込みユーティリティ型」項にて、`Record` 型および文字列リテラルの各ユーティリティ型についての説明を追加
2529

30+
### 第5章  JSX で UI を表現する
31+
32+
- [新しい JSX 変換形式](https://ja.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html)についての説明を随所に追加
33+
2634
## 第3版(2020-08-20)
2735

2836
### 第1章  こんにちは React

0 commit comments

Comments
 (0)