lists
Installation
SKILL.md
Lists (Strict Performance Rules)
- Always use
FlashList. - Do not use
FlatListunless strongly justified. estimatedItemSizemust be provided.renderItemmust be stable.- No anonymous arrow functions in list rendering.
- Extract list items into dedicated components.
- No inline JSX inside
.map().
List feature naming pattern:
SpellList.tsxSpellListCard.tsxSpellListEmpty.tsxSpellListSkeleton.tsxSpellListHeader.tsx
Prefix related files with the feature name.