@rescript/react 0.13.1 deprecates the usage of ReactDOM.Style.make
. Depending on your codebase, the refacto may be important. Here's a method to help you migrate:
1 - Install Comby
2 - Download the config.toml
config file to, say, the root of your repo
3 - Run comby -config conf.toml -f .res -matcher .re -i -d src
(if your rescript codebase is in the src
directory)
4 - Correct manually the type error(s). It's likely there are instances where the compiler doesn't have enough context to detect for example that the record {color: black}
is of type JsxDOMStyle.t