I am authoring a component which should only render if a certain condition is met:

{

props.isTrue && <div>Hello</div>;

}

If I put this in the editor, it shows me the error "Unexpected token ."