I'm trying to concatenate a string and HTML inside a JSX expression, but I can't seem to do it correctly. The code in my render function looks like this:
<span> {'preferred string' || `Other string ${<a target="_blank" href={someVariable}>text inside link</a>}`} </span> What I want it to render is: "Other string text inside link"
What it actually renders is "Other string [object Object]"
I've tried a few different strategies but am having no luck. Any advice is greatly appreciated.