darklang / rescript-tea

The Elm Architecture for Rescript
Other
119 stars 9 forks source link

Investigate how to use with JSX #56

Open pbiggar opened 2 years ago

pbiggar commented 2 years ago

It seems like the jsx-ppx by default generates React, but I think there's no reason it couldn't generate Tea. That might make it easier to use for people, and more like existing tools.

There seems to be some demand for this.

Definitely the ppx will need to be updated (this can't be done in rescript-tea), so it'll need an upstream change or a new ppx.