might be good if you know jquery and trying to learn react.
You could also argue that any template is syntactic sugar for whatever is happening behind the hoods.
Also if you do not treat it as a template, I'm concerned you will do something very hacky, unreadable and unmaintainable.
function App() {
const [draft, setDraft] = React.useState("")
const handleClick = () => setDraft("smiley")
return (
<div>
<input type="text" value={draft} />
<button onClick={handleClick}>smiley</button>
</div>
)
}
It's actually what most people do.