Double quotes misrenders emdash?

"—"->React.string -> â€
`—`->React.string -> —

Is there a reason to use double quotes? Save yourself escaping ${}?

Thanks
A

Hi @mouton

This doesn’t compile for me?:

—->React.string

I believe you’ll need to use back ticks for strings with special characters. E.g.

`—`->React.string

the backtick quotes are being eaten by the forum formatting, sorry.

1 Like

There was a recent post about making back ticks and double quotes behave the same way.

1 Like