#!/usr/bin/env node import { helpers, termost } from "termost"; import { name, version } from "../package.json" with { type: "json" }; // Depending on your `package.json` location. type ProgramContext = { globalFlag: string; }; type DebugCommandContext = { localFlag: string; }; const program = termost<ProgramContext>({ name, description: "CLI description", version, onException(error) { console.err
Lit Launch Day: Lit 3.0, Labs graduations, a compiler and more! It's launch day for the Lit project, and we have a bunch of exciting releases to share with the Lit and web components communities! After several months of development, the Lit team is happy to announce the final release of Lit 3.0 – our first major version since Lit 2.0 in early 2021, the first graduating class of Lit Labs packages @
A simple yet powerful testing framework for Node.js Japa comes with everything you need to test your backend applications. Be it writing JSON API tests using an Open API schema or writing browser tests using Playwright. Unlike other testing frameworks born out of the frontend ecosystem, Japa focuses only on testing backend applications and libraries. Therefore, Japa is simpler, faster, and bloatwa
In Norse mythology, Bifröst (/ˈbɪvrɒst/), is a burning rainbow bridge that reaches between Midgard (Earth) and Asgard, the realm of the gods. I am first to admit this is not the most exciting release from a feature standpoint. I was looking for cool code snippets but these changes are for the most part all under the hood. We are in that time period between the end of 1.x and the start of 2.0. We r
Piscina: A fast, efficient Node.js Worker Thread Pool implementation Tinypool is a fork of piscina. What we try to achieve in this library, is to eliminate some dependencies and features that our target users don't need (currently, our main user will be Vitest). Tinypool's install size (38KB) can then be smaller than Piscina's install size (6MB). If you need features like utilization or NAPI, Pisc
This is a beta release for upcoming 1.0.0 version. Use beta dist-tag when installing Vitest: npm install --save-dev vitest@beta. 🚨 Breaking Changes Support multiple parallel child_process - by @AriPerkkio in #3925 (8b4a4) If you have to disable threads (if you use canvas package, for example), this should improve your speed tremendously. useFakeTimers() no longer automatically mocks process.nex
Lit 3.0 Prerelease 2 and more! Today we are publishing the second prerelease of Lit 3.0. This prerelease includes: The core Lit 3.0 packages The first graduating class of Lit Labs: Task, Context, and React Our first preview of our new optimizing template compiler A Preact Signals integration library There are many other packages in this prerelease. See the full list and how to try them out here. L
この記事は最近リリースしたlocation-stateというライブラリの紹介記事です。 モチベーション Reactのstate管理は、様々な分類が可能です。筆者が過去に書いた記事「スコープとライフタイムで考えるReact State再考」では、stateの分類は大きく以下2つの観点で分類ができると述べました。 スコープによる分類 ライフタイム(=stateの生存期間)による分類 詳しく知りたい方はこの記事を読んでいただきたいのですが、今でもstate管理というと多くの場合スコープによる分類の話が多く、ライフタイムによる分類の話はあまり聞かない気がします。 なぜライフタイム観点が重要か ライフタイムを意識せずに実装した場合に発生するのが、遷移時に状態が破棄され復元されない、つまりブラウザバックでstateが壊れるという問題です。この問題については以下の記事で、Vercelの社長が2014年に
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く