Thanks for your answer, but why ReScript still needs me to import ReactDOM when I set JSX preserve option to true? I think, it should just skip the JSX translation at all. Maybe there is some way or option to avoid importing ReactDOM? It would be ok for me if it just generate pure JS files with JSX
Yes, I would like to use it in browser
↧
Simple way to convert JSX to DOM
↧