Skip to content

Commit f4c59f1

Browse files
2022-05-24のJS: Deno 1.22、Storybook 6.5(webpack Lazy Compilation)、Next.js Layouts RFC (#988)
* Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update 593 draft * Update _i18n/ja/_posts/2022/2022-05-24-deno-1.22-storybook-6.5webpack-lazy-compilation-next.js-layouts-rfc.md * Delete _i18n/ja/_posts/2022/2022-05-24-593draft.md * Update _i18n/ja/_posts/2022/2022-05-24-deno-1.22-storybook-6.5webpack-lazy-compilation-next.js-layouts-rfc.md * Update _i18n/ja/_posts/2022/2022-05-24-deno-1.22-storybook-6.5webpack-lazy-compilation-next.js-layouts-rfc.md * Update _i18n/ja/_posts/2022/2022-05-24-deno-1.22-storybook-6.5webpack-lazy-compilation-next.js-layouts-rfc.md * Update _i18n/ja/_posts/2022/2022-05-24-deno-1.22-storybook-6.5webpack-lazy-compilation-next.js-layouts-rfc.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a9e89cc commit f4c59f1

File tree

1 file changed

+230
-0
lines changed

1 file changed

+230
-0
lines changed
Lines changed: 230 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,230 @@
1+
---
2+
title: "2022-05-24のJS: Deno 1.22、Storybook 6.5(webpack Lazy Compilation)、Next.js Layouts RFC"
3+
author: "azu"
4+
layout: post
5+
date : 2022-05-24T03:06:17.234Z
6+
category: JSer
7+
tags:
8+
- video
9+
- Tools
10+
- browser
11+
- testing
12+
- google
13+
14+
---
15+
16+
JSer.info #593 - Deno 1.22がリリースされました。
17+
18+
- [Deno 1.22 Release Notes](https://deno.com/blog/v1.22)
19+
20+
Denoには、3つの型チェックモードがあります。
21+
22+
- Full: ローカルとリモートの依存関係を含めた全ての型をチェックする
23+
- Local: ローカルの型のみをチェックする
24+
- None: 型をチェックしない
25+
26+
1.21まではコマンドによっては"Full"モードで型チェックをしていましたが、1.22からは"Local"モードで型チェックをするのがデフォルトとなりました。
27+
また、次のリリース予定である1.23では、`deno run``deno cache`はデフォルトで"None"モードとなり型チェックをしなくなる予定となっています。
28+
29+
そのほかの変更として、`Deno.emit()`を削除、Worker内でも`Deno`名前空間がデフォルトで有効化、`--no-config`フラグの追加などが行われています。
30+
また、`Navigator.userAgent`のサポート、[`Response.json()`静的メソッド](https://github.com/whatwg/fetch/pull/1392)の追加なども含まれます。
31+
32+
---
33+
34+
Storybook 6.5.0がリリースされました。
35+
36+
- [Release v6.5.0 · storybookjs/storybook](https://github.com/storybookjs/storybook/releases/tag/v6.5.0)
37+
38+
webpack 5のlazy compilationをサポートが追加され、開発モードでの起動速度や再ビルドのパフォーマンスが改善されています。
39+
40+
- [Storybook Lazy Compilation for Webpack](https://storybook.js.org/blog/storybook-lazy-compilation-for-webpack/)
41+
- [Storybook Performance: Vite vs Webpack](https://storybook.js.org/blog/storybook-performance-from-webpack-to-vite/)
42+
43+
その他には、React 18の`createRoot`のサポート、MDX2のサポートが行われています。
44+
また、Viteの設定ファイル(`vite.config.js`)がある場合は、自動的にViteを使うように変更されています。
45+
46+
----
47+
48+
<h1 class="site-genre">ヘッドライン</h1>
49+
50+
----
51+
52+
## Deno 1.22 Release Notes
53+
[deno.com/blog/v1.22](https://deno.com/blog/v1.22 "Deno 1.22 Release Notes")
54+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">deno</span> <span class="jser-tag">ReleaseNote</span></p>
55+
56+
Deno 1.22.0リリース。
57+
デフォルトの型チェックの対象が依存関係を含まないローカルのみとなる。
58+
`Deno.emit()`を削除、Worker内でも`Deno`名前空間がデフォルトで有効化、`--no-config`フラグの追加。
59+
`Navigator.userAgent`のサポート、`Response.json()`静的メソッドの追加など
60+
61+
- [Release v1.22.0 · denoland/deno](https://github.com/denoland/deno/releases/tag/v1.22.0 "Release v1.22.0 · denoland/deno")
62+
63+
----
64+
65+
## Release v6.5.0 · storybookjs/storybook
66+
[github.com/storybookjs/storybook/releases/tag/v6.5.0](https://github.com/storybookjs/storybook/releases/tag/v6.5.0 "Release v6.5.0 · storybookjs/storybook")
67+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">debug</span> <span class="jser-tag">Tools</span> <span class="jser-tag">ReleaseNote</span></p>
68+
69+
Storybook v6.5.0リリース。
70+
webpack 5のlazy compilationをサポート、React 18の`createRoot`のサポート、MDX2のサポート。
71+
また、Viteの設定ファイルがある場合は、自動的にViteを使うように変更されている。
72+
73+
- [storybook/MIGRATION.md at next · storybookjs/storybook](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#from-version-64x-to-650 "storybook/MIGRATION.md at next · storybookjs/storybook")
74+
75+
----
76+
77+
## 7.18.0 Released: Destructuring private elements and TypeScript 4.7 · Babel
78+
[babeljs.io/blog/2022/05/19/7.18.0](https://babeljs.io/blog/2022/05/19/7.18.0 "7.18.0 Released: Destructuring private elements and TypeScript 4.7 · Babel")
79+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">babel</span> <span class="jser-tag">ReleaseNote</span></p>
80+
81+
Babel v7.18.0リリース。
82+
TypeScript 4.7のoptional variance(`in`/`out`)、instantiation expressionsなどに対応。
83+
Stage 2のPrivate destructuringのサポート、`regenerator-runtime`を自動的にinline化する変更など
84+
85+
86+
----
87+
88+
## Release v4.0.0 · capricorn86/happy-dom
89+
[github.com/capricorn86/happy-dom/releases/tag/v4.0.0](https://github.com/capricorn86/happy-dom/releases/tag/v4.0.0 "Release v4.0.0 · capricorn86/happy-dom")
90+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">DOM</span> <span class="jser-tag">library</span> <span class="jser-tag">ReleaseNote</span></p>
91+
92+
Happy DOM v4.0.0リリース。
93+
Void Elementのシリアライズバグを修正。
94+
`<img />``<img>`にシリアライズ、一方でSVG要素は`<circle />``<circle></circle>`へとシリアライズするように修正。
95+
96+
97+
----
98+
99+
## Release v2.2.0 · MithrilJS/mithril.js
100+
[github.com/MithrilJS/mithril.js/releases/tag/v2.2.0](https://github.com/MithrilJS/mithril.js/releases/tag/v2.2.0 "Release v2.2.0 · MithrilJS/mithril.js")
101+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">library</span> <span class="jser-tag">ReleaseNote</span></p>
102+
103+
mithril.js v2.2.0リリース。
104+
105+
106+
----
107+
108+
## Node v18.2.0 (Current) | Node.js
109+
[nodejs.org/en/blog/release/v18.2.0/](https://nodejs.org/en/blog/release/v18.2.0/ "Node v18.2.0 (Current) | Node.js")
110+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">node.js</span> <span class="jser-tag">ReleaseNote</span></p>
111+
112+
Node.js 18.2.0リリース。
113+
OpenSSLのセキュリティ修正、`http.Server``closeAllConnections``closeIdleConnections`を追加。
114+
`perf_hooks``PerformanceResourceTiming`のサポートを追加など
115+
116+
117+
----
118+
119+
## nvh95/jest-preview: Debug your Jest tests. Effortlessly.🛠🖼
120+
[github.com/nvh95/jest-preview](https://github.com/nvh95/jest-preview "nvh95/jest-preview: Debug your Jest tests. Effortlessly.🛠🖼")
121+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">jest</span> <span class="jser-tag">browser</span> <span class="jser-tag">testing</span> <span class="jser-tag">library</span></p>
122+
123+
Jestで実行中のテストに`debug()`関数を仕込むことで、実行中のテストが作成したHTMLをブラウザでプレビューしながらデバッグできるライブラリ。
124+
125+
126+
----
127+
128+
## adriancooney/puppeteer-heap-snapshot: API and CLI tool to fetch and query Chome DevTools heap snapshots.
129+
[github.com/adriancooney/puppeteer-heap-snapshot](https://github.com/adriancooney/puppeteer-heap-snapshot "adriancooney/puppeteer-heap-snapshot: API and CLI tool to fetch and query Chome DevTools heap snapshots.")
130+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">puppeteer</span> <span class="jser-tag">library</span> <span class="jser-tag">Tools</span></p>
131+
132+
Puppeteerを使いサイトへアクセスして、Heap Snapshotを取得し、そのSnapshotから特定のプロパティ名にマッチするオブジェクトを取り出すスクレイピングライブラリ。
133+
134+
- [Web Scraping via Javascript Runtime Heap Snapshots - Adrian Cooney&#039;s Blog](https://www.adriancooney.ie/blog/web-scraping-via-javascript-heap-snapshots "Web Scraping via Javascript Runtime Heap Snapshots - Adrian Cooney&amp;#039;s Blog")
135+
136+
----
137+
138+
## Release electron v19.0.0 · electron/electron
139+
[github.com/electron/electron/releases/tag/v19.0.0](https://github.com/electron/electron/releases/tag/v19.0.0 "Release electron v19.0.0 · electron/electron")
140+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">Electron</span> <span class="jser-tag">ReleaseNote</span></p>
141+
142+
Electron v19.0.0リリース。
143+
Chromium 102、V8 10.2、Node.js 16.14.2にアップデート。
144+
Electron 20からpreload scriptsは自動的にsandboxで実行される。
145+
そのため、`nodeIntegration: true` かつ `sandbox`が無指定の場合に警告が出るようになった。
146+
147+
148+
----
149+
150+
## Release v7.0.0 · faker-js/faker
151+
[github.com/faker-js/faker/releases/tag/v7.0.0](https://github.com/faker-js/faker/releases/tag/v7.0.0 "Release v7.0.0 · faker-js/faker")
152+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">library</span> <span class="jser-tag">ReleaseNote</span></p>
153+
154+
Faker v7.0.0リリース。
155+
default exportを削除、ES2020をサポートしている環境をターゲットに変更、Node.js 12のサポート終了など
156+
157+
158+
----
159+
<h1 class="site-genre">アーティクル</h1>
160+
161+
----
162+
163+
## The Surprising Truth About Pixels and Accessibility: should I use pixels or rems?
164+
[www.joshwcomeau.com/css/surprising-truth-about-pixels-and-accessibility/](https://www.joshwcomeau.com/css/surprising-truth-about-pixels-and-accessibility/ "The Surprising Truth About Pixels and Accessibility: should I use pixels or rems?")
165+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">CSS</span> <span class="jser-tag">fonts</span> <span class="jser-tag">accessibility</span> <span class="jser-tag">article</span></p>
166+
167+
`px``rem`について。
168+
`px`指定はブラウザのデフォルトフォントサイズの影響を受けないが`rem`は影響を受ける。
169+
使う場所による違い、デフォルトフォントサイズを大きくして確認する方法、ルートのフォントサイズを小さくする問題についてなど
170+
171+
172+
----
173+
174+
## Blog - Layouts RFC | Next.js
175+
[nextjs.org/blog/layouts-rfc](https://nextjs.org/blog/layouts-rfc "Blog - Layouts RFC | Next.js")
176+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">Next.js</span> <span class="jser-tag">article</span> <span class="jser-tag">proposal</span></p>
177+
178+
Next.jsの新しいLayout RFCを解説する記事。
179+
`app/`というディレクトリでopt-inする形となり、`layout.js``page.js`というファイル名の命名規則使ったルーティングとレイアウトの仕組みについて。
180+
また、この新しいLayout RFCではReact Server Componentsがデフォルトとなることについてなど
181+
182+
- [RFC: Layouts · Discussion #37136 · vercel/next.js](https://github.com/vercel/next.js/discussions/37136 "RFC: Layouts · Discussion #37136 · vercel/next.js")
183+
184+
----
185+
<h1 class="site-genre">スライド、動画関係</h1>
186+
187+
----
188+
189+
## Web at I/O 2022 - YouTube
190+
[www.youtube.com/playlist?list&#x3D;PLNYkxOF6rcIDKuCU73tmdRN\_-mI3tKFPD](https://www.youtube.com/playlist?list=PLNYkxOF6rcIDKuCU73tmdRN_-mI3tKFPD "Web at I/O 2022 - YouTube")
191+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">google</span> <span class="jser-tag">web </span> <span class="jser-tag">video</span> <span class="jser-tag">Conference</span></p>
192+
193+
Google I/O 2022のWeb関係の動画まとめ
194+
195+
196+
----
197+
198+
## Playwright 1.22: Component Tests (preview) Overview - YouTube
199+
[www.youtube.com/watch?v&#x3D;y3YxX4sFJbM](https://www.youtube.com/watch?v=y3YxX4sFJbM "Playwright 1.22: Component Tests (preview) Overview - YouTube")
200+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">playwright</span> <span class="jser-tag">JavaScript</span> <span class="jser-tag">browser</span> <span class="jser-tag">testing</span> <span class="jser-tag">video</span></p>
201+
202+
Playwright v1.22で試験的に実装されたComponent Tests機能の解説動画。
203+
どのような仕組みでブラウザにコンポーネントをmountしているか、コンポーネントのテスト実行、デバッガーとの連携、キーボード入力やスクリーンショットの撮影などについて
204+
205+
- [Release v1.22.0 · microsoft/playwright](https://github.com/microsoft/playwright/releases/tag/v1.22.0 "Release v1.22.0 · microsoft/playwright")
206+
207+
----
208+
<h1 class="site-genre">ソフトウェア、ツール、ライブラリ関係</h1>
209+
210+
----
211+
212+
## markdoc/markdoc: A powerful, flexible, Markdown-based authoring framework.
213+
[github.com/markdoc/markdoc](https://github.com/markdoc/markdoc "markdoc/markdoc: A powerful, flexible, Markdown-based authoring framework.")
214+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">Markdown</span> <span class="jser-tag">document</span> <span class="jser-tag">library</span></p>
215+
216+
Markdownベースのドキュメントオーサリングライブラリ。
217+
パーサ、バリデーション、カスタムタグなどを拡張に対応している。
218+
markdown-itのtokenize結果をもとにASTを組み立て、それをレンダリングするRendererを持つ
219+
220+
221+
----
222+
223+
## honojs/hono: Ultrafast web framework for Cloudflare Workers. Fast, but not only fast.
224+
[github.com/honojs/hono](https://github.com/honojs/hono "honojs/hono: Ultrafast web framework for Cloudflare Workers. Fast, but not only fast.")
225+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">cloudflare</span> <span class="jser-tag">library</span> <span class="jser-tag">JavaScript</span></p>
226+
227+
Cloudflare Workers向けのルーティングライブラリ
228+
229+
230+
----

0 commit comments

Comments
 (0)