Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Simple way to convert JSX to DOM

$
0
0

Sorry for the amateur question, but what is the simplest way to convert JSX to DOM elements? In TypeScript I am used to use a package named “JSX-dom”, which is configured in the package.json and doesn’t require in-file configuration. I have tried to use the new JSX preserve mode to convert JSX later in babel, but it requires to import a ReactDOM for some reason. I think, that I don’t need a ReactDOM at all. Is there any simple ready-to-use solution? Thanks.


Viewing all articles
Browse latest Browse all 2592

Trending Articles