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

Revert "Better handling of longidents in JSX (#2541)" #2650

Closed anmonteiro closed 3 years ago

anmonteiro commented 3 years ago

This reverts commit 35896458c960e582965e5f977705d17618578d67.

The PR breaks the following example in the JSX PPX.

module Internal = {
  [@react.component]
  let header = () => <div />;
};

[@react.component]
let make = () => <div> <Internal.header /> </div>;
anmonteiro commented 3 years ago

Alright, I rushed to this one, this can be fixed in the React JSX PPX. cc @Drup