TypeScript can usually infer a component return type from JSX. Explicit return types can be useful in public APIs but are not always necessary.