reasonml / reason-react

Reason bindings for ReactJS
https://reasonml.github.io/reason-react/
MIT License
3.25k stars 349 forks source link

Abstract bindings on ppx #768

Closed davesnx closed 1 year ago

davesnx commented 1 year ago

Previously to remove the legacy APIs I want to make sure we don't rely on those on the ppx. I'm doing this small abstraction to have an easy way to know which bindings we use from the ppx and improving a big the quality of this beast.

This refactor should be harmless. I have tested the location test and seems ok.