We've found a bug for you! /.../fixtures/jsx_plain_function_component.res:28:10-16 26 │ } 27 │ 28 │ let _ = <Wrapper value="hello" /> 29 │ This JSX tag has type: Wrapper.props => Jsx.element But JSX component positions require: React.component<'a> (defined as Jsx.component<'a>) JSX tags must be React components, not plain functions. Possible solutions: - If this function takes labeled props, annotate it with @react.component - If this function takes a single props record, annotate it with @react.componentWithProps - If this is already a valid component-like value, wrap it with React.component(...)