本文へ移動
cccskills
無料GitHub で公開

react-compiler

React Compiler automatically memoizes React components at build time, eliminating manual useMemo/useCallback/React.memo. Use when asked about React Compiler setup, memoization automation, "use memo"/"use no memo" directives, incremental adoption, compiler debugging, or build tool integration (Babel, Vite, Next.js, Expo, Metro, Rspack, Rsbuild).

インストール方法を見る

含まれるファイル(6)

  • SKILL.md2.4 KB
  • debugging.md4.5 KB
  • incremental-adoption.md6.9 KB
  • index.md1.7 KB
  • installation.md7.9 KB
  • introduction.md10.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

React Compiler is a build-time optimizer that automatically handles memoization, letting you write plain React without manual useMemo, useCallback, or React.memo.

Skill Files

FileWhen to read
introduction.mdWhat the compiler does, before/after examples, useMemo/useCallback guidance
installation.mdSetup for Babel, Vite, Next.js, React Router, Expo, Metro, Rspack, Rsbuild; ESLint integration; verifying setup
incremental-adoption.mdDirectory-based Babel overrides, "use memo" opt-in annotation mode, runtime feature flags/gating
debugging.mdCompiler errors vs runtime issues, "use no memo" isolation, filing bug reports
index.mdHigh-level topic map linking all sections

Key Concepts

  • Auto-memoization — compiler inserts cache slots (_c()) automatically; no manual hooks needed
  • "use memo" — opt a component/hook into compilation when using compilationMode: 'annotation'
  • "use no memo" — opt a component out of compilation to isolate bugs
  • Rules of React — compiler skips components that violate the rules; ESLint plugin surfaces violations
  • Babel-first — must run before other Babel plugins; swc/oxc support in progress
  • React DevTools — compiled components show a "Memo ✨" badge confirming optimization

External Reference Docs

These reference pages are not bundled in this skill — link out to the React docs site:

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

astro

無料

Reference for Astro — the core web framework the gatOS docs site (under site/) is built on. Use this when authoring or editing pages in site/, working with .astro/.md/.mdx files, content collections, the astro.config.mjs, or component/JSX-in-Markdown mechanics. Covers Astro component anatomy, using components in MDX, content collections, frontmatter, imports, expressions, and the build/dev commands — enough to work the site without leaving the repo. Pair with the `starlight` skill (the docs theme + its components) and the `tutorials` skill (the gatOS house style).

日本語の概要は準備中です。原文の説明を表示しています。

meow-sci/gatOS132026年10月11日 更新

bun

無料

how to use bun effectively for scripting and sqlite and more

日本語の概要は準備中です。原文の説明を表示しています。

meow-sci/gatOS132026年10月11日 更新

gatos

無料

Write scripts and programs against gatOS — the KSA mod that exposes live Kitten Space Agency simulation state as a 9P filesystem at /sim (also over HTTP /v1, MQTT, and an AI-oriented MCP server). Use this when asked to read game/celestial/vehicle telemetry, control vehicles (throttle, ignite, staging, attitude, burns, RCS, lights, docking), use game/debug controls (teleport, impulse kick, refuel, time-warp, switch vessel), direct the in-game camera / author cinematic shots and tracks, schedule timed command sequences, or write flight-computer / autopilot programs. Covers the full /sim catalog, the command model, KSA coordinate frames, and worked Bun/TypeScript + Rust examples.

日本語の概要は準備中です。原文の説明を表示しています。

meow-sci/gatOS132026年10月11日 更新

harmony

無料

Expert in use of Harmony Lib for runtime patching of dotnet C# code

日本語の概要は準備中です。原文の説明を表示しています。

meow-sci/gatOS132026年10月11日 更新

imgui

無料

ImGui is an immediate mode UI library. KSA uses ImGui for UI

日本語の概要は準備中です。原文の説明を表示しています。

meow-sci/gatOS132026年10月11日 更新

ksa

無料

detailed information about kitten space agency (KSA) game code, decompiled sources, modding patterns, architecture and best practices for working with mods and the game codebase

日本語の概要は準備中です。原文の説明を表示しています。

meow-sci/gatOS132026年10月11日 更新

meow-sci のスキルをすべて見る

このスキルの問題を報告する