AIと協働し、イベントソーシングとアクターモデルで作る後悔しないアーキテクチャ Regret-Free Architecture with AI, Event Sourcing, and Actors
You can now build platforms with the new Vercel for Platforms product announced today, making it easy to create and run customer projects on behalf of your users. Two platform modes are available: Multi-Tenant and Multi-Project, allowing you to deploy with a single codebase or many, across any number of domains. Link to headingMulti-Tenant PlatformsRun a single codebase that serves many customers
概要 TypeScript では、「ユーザー定義型ガード」という種類の関数が書けます。その一例をまず見てみましょう。 /** * ユーザー定義型ガード。入力値が `string` 型であるときに、真を返す。 */ export function isString(input: unknown): input is string { return typeof input === 'string'; } import { isString } from './guards/is-string'; function doSomething1(input: unknown) { if (isString(input)) { // input は string 型に絞り込まれる console.log(input.toUpperCase()); } }
皆さんこんにちは。この記事は株式会社カオナビ Advent Calendar 2025の1日目の記事です。 TypeScriptにおいて、型定義にtypeとinterfaceのどちらを使うのかは定番の議論テーマです。人々は、思い思いの理由でtypeが良いと言ったりinterfaceが良いと言ったり要はバランスと言ったりします。 typeとinterfaceのパフォーマンスの違い? たまに、Microsoftの公式ドキュメントにある以下のような記述を根拠に、「interfaceの方がパフォーマンスが良い」とされることがあります。 Using interfaces with extends can often be more performant for the compiler than type aliases with intersections https://www.typescri
2025-11-28 プロによる本気の攻略本『JavaScript/TypeScript実力強化書』 - Forkwell Library #115
2025-11-27 プロによる本気の攻略本『JavaScript/TypeScript実力強化書』 - Forkwell Library #115
Filed underCSSoninNovember 25th, 2025.Nov 2025.Last updatedoninNovember 26th, 2025.Nov 2025. IntroductionWhen CSS Grid layout was first released, it came with a big asterisk: only the grid’s direct children could participate in the layout. “Subgrid” is a newer addition to CSS Grid which allows us to extend the grid layout down through the DOM tree. When I first heard about subgrid, it seemed to me
Managing Side Effects: A JavaScript Effect System in 30 Lines or Less If you look at the source code of a typical application, you will likely find business logic tangled with database calls, HTTP requests firing off in the middle of validation rules, and try/catch blocks sprinkled here and there. The biggest casualty of this coupling is testability. How do you test a function that calculates a us
Next.jsは従来より、デフォルトで高いパフォーマンスを実現するフレームワークであることを重視してきました。App RouterにおいてもSSR・Streaming・Cacheなど様々な最適化により、高いパフォーマンスの実現を目指してきました。しかし一方で、積極的なCache活用や複雑すぎるCacheの影響範囲は、開発者に多くの混乱をもたらしました。 v16で導入されたCache Componentsは、Next.jsのCacheのメンタルモデルを大きく変更するものであり、これまでの多くの課題を解決しうるリアーキテクチャです。この記事では、Cache Componentsが何を解決しようとしているのか、なぜリアーキテクチャに至ったのかなどの歴史的経緯を解説します。 Next.jsの歴史 Next.jsには現在、Pages RouterとApp Routerという2つのRouterが同梱さ
Tooltip Components Should Not Exist17.11.2025 — ReactJs, Design System, API Design — 3 min read I have to admit: bad tooltips in web apps are one of my pet peeves. And to be fair, it's quite easy to get tooltips wrong. There are lots of concerns that need to be thought of: AccessibilityKeyboard interactivityLeast surprise for all usersNot hiding critical information behind themOver the years, I've
Web アプリケーションにおけるルーティングは重要な要素です。URL Pattern API は URL のパターンマッチングを標準化するための Web API であり、ブラウザやサーバーサイド環境で一貫した方法で URL パターンを処理できます。この記事では、URLPattern API の基本的な使い方とパターン構文について解説します。 Web アプリケーションにおいてルーティングは重要な要素です。URL はアプリケーションの状態を表現し、ユーザーが特定のリソースにアクセスするための手段となります。id や slug のような一意な識別子を URL に含めることによる動的なコンテキストの提供は、一般的な手法として広く採用されています。 動的なルーティングを実現するために標準的な手法は存在していませんが、Express や Hono, Next.js のような多くの Web フレームワー
ToastsGitHub no longer uses toasts because of their accessibility and usability issues. Overview Toasts are small, rectangular notifications that pop up on the screen, triggered either by a user or system behavior. They commonly show up on the bottom left or right-hand side of the viewport and disappear after a preset amount of time. While it can be tempting to use toast UI as a solution for your
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く