We could make this configurable for the React PPX as well. I think this has been requested before. We could add a setting to the JSX config, like "domProps": "MyDOMProps.t". Then it’d be easy to just do a type t = {...JsxDOM.domProps, someOtherProp?: bool} without having to set up a full custom JSX transform.
↧
I might make a video on React component in ReScript
↧