Customizing JSX

Hello! I’m new to ReScript. In fact I never used yet. I wanted to develop a project for fun and I thought that maybe I could use ReScript to learn, killing two birds with one stone. The thing is, for this specific project I would need to provide a custom function for JSX (because I won’t use React at all). I have been reading for a while the docs and the forum. From what I gathered, this is possible to do with PPX (which is some kind of o’Caml preprocessing feature?) but looks like PPX are discouraged to use and may be removed in the future?

The question is: what would be the easier way to use a custom JSX function? If PPX will be removed in the future, what will happen with JSX?

Thanks!

6 Likes