Skip to content

Commit 45b5bfa

Browse files
committed
Merge branch 'main' into refactor-term-component
2 parents a234ddd + f678fbc commit 45b5bfa

File tree

5 files changed

+6
-15
lines changed

5 files changed

+6
-15
lines changed

README-en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ This document is formatted with Prettier.
5858

5959
## License
6060

61-
ut.code(); Learn is licensed under the [MIT license](https://github.com/ut-code/utcode-learn/blob/master/LICENSE).
61+
ut.code(); Learn is licensed under the [MIT license](https://github.com/ut-code/utcode-learn/blob/main/LICENSE).
6262
Copyright © 2023 ut.code();.
6363

6464
## Contributing

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ npm run build
8989

9090
## ライセンス
9191

92-
ut.code(); Learn は [MIT license](https://github.com/ut-code/utcode-learn/blob/master/LICENSE) でライセンスされています。
92+
ut.code(); Learn は [MIT license](https://github.com/ut-code/utcode-learn/blob/main/LICENSE) でライセンスされています。
9393
Copyright © 2023 ut.code();.
9494

9595
## 貢献

docs/3-web-servers/08-database/index.mdx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -190,16 +190,7 @@ Node.jsからPrismaを利用してデータベースのデータを操作する
190190
- [`PrismaClient#[テーブル名].findFirst`メソッド](https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#findfirst): 条件を満たす最初のレコードを取得
191191
- [`PrismaClient#[テーブル名].findUnique`メソッド](https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#findunique): レコードを一意に識別できる条件を使用してレコードを1つだけ取得
192192

193-
:::tip[非同期処理]
194-
195-
上記の3つのメソッドは、<Term>**非同期処理**</Term>を行います。JavaScriptにおける非同期処理とは、ファイルの入出力やネットワーク通信など、JavaScriptの外側の時間のかかる処理の完了を待つ間、ほかの処理を実行できるようにする仕組みです。非同期処理を行う関数を使用するためには、次の2つを行います。
196-
197-
- 非同期処理を行う関数を呼び出す関数を定義する際、`async`キーワードをつけること
198-
- 非同期処理を行う関数の戻り値に対し、`await`演算子を適用すること
199-
200-
非同期処理に関する詳細は、[MDNの記事](https://developer.mozilla.org/ja/docs/Learn/JavaScript/Asynchronous)を参照してください。
201-
202-
:::
193+
これら3つのメソッドは、<Term>非同期処理</Term>を行います。
203194

204195
まずは、`findMany`メソッドの戻り値を、デバッガを用いて確認してみましょう。
205196

docs/4-advanced/04-react/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ const max = a > b ? a : b; // 6
236236

237237
![JSXとJavaScriptの入れ子構造](./jsx-and-javascript.png)
238238

239-
### 課題
239+
### 確認問題
240240

241241
自分のテストの点数を表す変数`score`を用意し、Reactで次を満たすプログラムを作成してください。
242242

@@ -390,7 +390,7 @@ export default function App() {
390390
}
391391
```
392392

393-
### 課題
393+
### 確認問題
394394

395395
先程の`students`のデータを用いて、次のような表を作ってみましょう。
396396

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const config = {
4545
docs: {
4646
showLastUpdateTime: true,
4747
sidebarPath: "./sidebars.js",
48-
editUrl: "https://github.com/ut-code/utcode-learn/blob/master/",
48+
editUrl: "https://github.com/ut-code/utcode-learn/blob/main/",
4949
remarkPlugins: [math],
5050
rehypePlugins: [katex],
5151
},

0 commit comments

Comments
 (0)