React Guideline: Rendering — Avoid inline object/array creation in JSX. Description: Create objects outside render or memoize. Do: Define style objects outside component. Don't: Inline objects in props. Good Example: <div style={styles.container}>. Bad Example: <div style={{ margin: 10 }}>. Severity: Medium. Docs: .