Does Builderio have jsx support yet?
I’m trying to pass a jsx element to a Next.js app through one of builder’s data model fields. However, the only formats available for Code
fields are HTML, CSS, JavaScript, and Other. If I try to use Other it just defaults to HTML. This is the jsx code I’m trying to pass:
<>After linking a source, you can analyze it with natural language prompting on the{’ ‘}Chat{’ '}</>
However, it’s just passing as a bunch of strings separated by spaces eg this:
‘<>After linking a source, you can analyze it with natural language prompting on the{’ ‘}\r\n" +
‘\r\n’ +
’ Chat\r\n’ + “{’ '}\r\n”
If not, what is the best way to pass a code fragment like this? I’d prefer not to install html-react-parser
.