Skip to content

Commit 8a10b37

Browse files
authored
Merge branch 'main' into code-sandpack
2 parents 12432c5 + fc00106 commit 8a10b37

File tree

34 files changed

+1780
-1693
lines changed

34 files changed

+1780
-1693
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
## 貢献

babel.config.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

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/02-bundler/_samples/chartjs/.gitignore renamed to docs/4-advanced/02-bundler/_samples/canvas-confetti/.gitignore

File renamed without changes.

docs/4-advanced/02-bundler/_samples/chartjs/index.html renamed to docs/4-advanced/02-bundler/_samples/canvas-confetti/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Vite App</title>
6+
<title>Canvas Confetti</title>
77
</head>
88
<body>
9-
<div>
10-
<canvas id="myChart"></canvas>
11-
</div>
9+
<div id="app"></div>
1210
<script type="module" src="/src/main.js"></script>
1311
</body>
1412
</html>

0 commit comments

Comments
 (0)