performance
Installation
SKILL.md
Performance Discipline
- Prefer
useMemoanduseCallbackwhen values or handlers are passed to children. - No anonymous arrow functions in JSX.
- No inline object literals in props.
- Keep function references stable.
- Avoid unnecessary re-renders.
- Avoid recreating style objects on each render.
- Performance is a default mindset.