How to use data attributes in React without using quotes (quotes in this case make code less readable)?
const e = React.createElement;
e(
"span", {
id: "foo",
className: "bar",
"data-tippy-content": "tooltip",
}, "Foobar"),
... and without using JSX.
data-tippy-contentis a subtraction, as far as JS is concerned.dataSetwas available. github.com/facebook/react/issues/1259