React Guideline: TypeScript — Type state properly. Description: Provide types for useState. Do: useState<Type>() for complex state. Don't: Inferred any types. Good Example: useState<User | null>(null). Bad Example: useState(null). Severity: Medium. Docs: .