E0189: missing '<>' and '</>' to enclose multiple children
To return multiple JSX elements from a component, you must return a fragment. It
is a syntax error to return multiple elements without a fragment:
To fix this error, wrap the elements in a fragment using <>
and </>
:
Alternatively, wrap the elements in another element:
Introduced in quick-lint-js version 2.0.0.
Documentation for other errors