Deno 1.30: Built-in Node modules
https://realtime.jser.info/2023/01/26/deno-1-30-built-in-node-modules/
https://deno.com/blog/v1.30 Deno v1.30リリース。 node: prefixのサポート、deno.jsonにImport Mapsを定義できるように、Deno.env.has(name)の追加。 deno fmtにセミコロンの設定を追加など
deca-org/deca-ui: DecaUI is production-ready themeable component library built with StitchesJS.
https://realtime.jser.info/2023/01/26/deca-org-deca-ui-decaui-is-production-ready-themeable-component-library-built-with-stitchesjs/
https://github.com/deca-org/deca-ui ReactのUIコンポーネントフレームワーク
Astro 2.0 | Astro
https://realtime.jser.info/2023/01/25/astro-2-0-astro/
https://astro.build/blog/astro-2/ Astro 2.0リリース。 Content Collections APIの追加、SSGとSSRを組み合わせられるように、エラー表示の改善、HMRの改善、Vite 4.0へのアップデートなど
今週のJSer.infoを更新しました!
2023-01-24のJS: Bun v0.5、Remix v1.11.0、メモリリークの調査
https://jser.info/2023/01/24/bun-v0.5-remix-v1.11.0/
Release v29.4.0 · facebook/jest
https://realtime.jser.info/2023/01/24/release-v29-4-0-facebook-jest/
https://github.com/facebook/jest/releases/tag/v29.4.0 Jest v29.4.0リリース。 equalのアルゴリズムをカスタマイズできるexpect.addEqualityTesters()の追加、オブジェクトのプロパティをモックするjest.replaceProperty()の追加など
Release v1.11.0 · remix-run/remix
https://realtime.jser.info/2023/01/24/release-v1-11-0-remix-run-remix/
https://github.com/remix-run/remix/releases/tag/remix%401.11.0 Remix 1.11.0リリース。 deferを使ってレスポンス待ちを減らせるように、@remix-run/css-bundleでのCSSファイルのロード、CSS Modules、Vanilla Extractのサポート。 Flat...
Safari 16.3 Release Notes | Apple Developer Documentation
https://realtime.jser.info/2023/01/24/safari-16-3-release-notes-apple-developer-documentation/
https://developer.apple.com/documentation/safari-release-notes/safari-16_3-release-notes Safari 16.3リリース。 fetch()でContent-Encoding:...
amandaghassaei/gpu-io: A GPU-accelerated computing library for physics simulations and other mathematical calculations
https://realtime.jser.info/2023/01/23/amandaghassaei-gpu-io-a-gpu-accelerated-computing-library-for-physics-simulations-and-other-mathematical-calculations/
https://github.com/amandaghassaei/gpu-io WebGLを使ったGPU処理を扱うライブラリ
SSSVG: An Interactive SVG Reference | fffuel
https://realtime.jser.info/2023/01/23/sssvg-an-interactive-svg-reference-fffuel/
https://fffuel.co/sssvg/ 実際に触りながらSVGのタグを見れるリファレンスサイト
Optimize Time to First Byte
https://realtime.jser.info/2023/01/23/optimize-time-to-first-byte/
https://web.dev/optimize-ttfb/ Time to First Byte (TTFB)の改善について。 Serving-Timingヘッダを使い詳細化、CDNの利用、ページのリダイレクトを避ける、SSR時にStreaming Server Renderingを行う。 Service Workerを使ったキャッシュ戦略、103 Early Hintsについてなど
Q1 Roadmap · Issue #17475 · denoland/deno
https://realtime.jser.info/2023/01/23/q1-roadmap-issue-17475-denoland-deno/
https://github.com/denoland/deno/issues/17475 Denoの2023 Q1のロードマップ。 deno.jsonに直接import mapを埋め込めるように、type=moduleのpackage.jsonをサポート、node: prefixのサポート。 deno.land/x での semver指定のサポート、deno bundleをDeprecateにし、deno...
Brooooooklyn/canvas: High performance skia binding to Node.js. Zero system dependencies and pure npm packages without any postinstall scripts nor node-gyp.
https://realtime.jser.info/2023/01/23/brooooooklyn-canvas-high-performance-skia-binding-to-node-js-zero-system-dependencies-and-pure-npm-packages-without-any-postinstall-scripts-nor-node-gyp/
https://github.com/Brooooooklyn/canvas native addonsを使ったskia backendのCanvas APIの実装ライブラリ。 アーキテクチャに合わせたoptionalDependenciesでprebuildのSkiaを含めたバイナリがダウンロードされるため、システムに対して事前に依存をインストールを追加する必要がない
Release v2.0.0-alpha.1 · reduxjs/redux-toolkit
https://realtime.jser.info/2023/01/23/release-v2-0-0-alpha-1-reduxjs-redux-toolkit/
https://github.com/reduxjs/redux-toolkit/releases/tag/v2.0.0-alpha.1 Redux Toolkit v2.0.0-alpha.1リリース。 ESM形式とCJS形式のDual Packageへの変更、thunk関数をredux-thunkパッケージへ移動。 v2正式版にはImmer 10を含める予定など ...
Fixing a Memory Leak in a Production Node.js App
https://realtime.jser.info/2023/01/22/fixing-a-memory-leak-in-a-production-node-js-app/
https://kentcdodds.com/blog/fixing-a-memory-leak-in-a-production-node-js-app...
Why Is My Jest Test Suite So Slow? | by Steven Lemon | Jan, 2023 | Bits and Pieces
https://realtime.jser.info/2023/01/22/why-is-my-jest-test-suite-so-slow-by-steven-lemon-jan-2023-bits-and-pieces/
https://blog.bitsrc.io/why-is-my-jest-suite-so-slow-2a4859bb9ac0 Jestのテストのパフォーマンスのボトルネックの調べ方について。 起動時間、jsdomのロード、キャッシュ、テストファイルのロード、実際のテストの実行時間について。 Node.jsのプロファイラーを使ってどこに問題があるかを調べる方法について
Next.js製アプリケーションのコンパイルを約100倍高速化した話
https://realtime.jser.info/2023/01/22/next-js-100/
https://zenn.dev/mkt/articles/543669021d9a1e Next.jsのビルド速度の問題を.next/traceのトレースデータを見て分析する方法について 関連URL NextJs compiling extremely slow · Issue #29559 · vercel/next.js
Why Not document.write()? – CSS Wizardry – Web Performance Optimisation
https://realtime.jser.info/2023/01/22/why-not-document-write-css-wizardry-web-performance-optimisation/
https://csswizardry.com/2023/01/why-not-document-write/ document.write()がなぜ遅いかについて。
Release v1.11.0 · remix-run/remix
https://realtime.jser.info/2023/01/20/release-v1-11-0-remix-run-remix/
https://github.com/remix-run/remix/releases/tag/remix%401.11.0 Remix 1.11.0リリース。 deferを使ったレスポンス待ちを減らせるように、@remix-run/css-bundleでのCSSファイルのロード、CSS Modules、Vanilla Extractのサポート。 Flat...
Bun v0.5 | Bun Blog
https://realtime.jser.info/2023/01/19/bun-v0-5-bun-blog/
https://bun.sh/blog/bun-v0.5.0 Bun 0.5.0リリース。 workspacesのインストールをサポート。 Node.jsとの互換性としてnode:dns、node:tls、node:net、node:readlineのサポート。 モジュール解決時の識別子の優先度を変更など
今週のJSer.infoを更新しました!
2023-01-18のJS: Flow v0.197.0(Local Type Inference)、Fetch APIのエラーハンドリング
https://jser.info/2023/01/18/flow-v0.197.0local-type-inference-fetch-api/
JavaScriptの最新情報を紹介する週刊ブログ