Adjacent XJS react

Developer from somewhere

The following error:

Error: Parse Error: Adjacent XJS elements must be wrapped in an enclosing tag

Is probably because you are not returning one element, but multiple. So, return:

<div>
  <SomeComponent/>
  <SomeOtherComponent/>
</div>

instead of:

  <SomeComponent/>
  <SomeOtherComponent/>