reasonml / reason

Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
http://reasonml.github.io
MIT License
10.08k stars 425 forks source link

Update reactjs_jsx_ppx_v2.ml #2678

Closed lambda0xE closed 1 year ago

lambda0xE commented 1 year ago

The code has been refactored to improve its structure and indentation, making it more readable. Additionally, a match operator with handling of all possible cases has been used instead of multiple nested if conditions. This simplifies reading the code and increases its readability.

davesnx commented 1 year ago

This ppx isn't being used anywhere and it's quite old. I will close this PR, but feel free to open this PR into the right place: either Melange repo or https://github.com/rescript-lang/rescript-compiler