本文へスキップ
Kitbay
スキル

react

NOASSERTION2026年11月11日 更新84,974GitHubスター

A background skill in the LobeHub repository, loaded automatically rather than called by users, with rules for writing React and TSX components in LobeHub's codebase.

スキルの内容

A background skill in the LobeHub repository, loaded automatically rather than called by users, with rules for writing React and TSX components in LobeHub's codebase. Styling goes through StyleX with lobe-ui variables for new code, while older styling APIs are only being migrated away, whole files at a time, with a list of shorthand properties that silently compile to nothing. Components are chosen in a fixed order from the project's own, then lobe-ui's headless and higher-level ones, then Ant Design. It keeps state in the smallest owner, splits components only at real boundaries, closes popovers on navigation, treats memoisation as opt-in with a stated reason, and lays out with Flexbox and gaps.

できること

  • Style components with StyleX
  • Pick components in a fixed priority order
  • Place state in its smallest owner
  • Decide when memoisation is justified