This is the initial version of rescript-react, a port of reason-react@0.9 that will be almost equivalent, except for a few long needed minor breaking changes.
It is intended to be used with our newest ReScript React-JSX transformations (> JSX v3) and React v17.
For history on previous evolution of the code, check out the original reason-react history
Breaking:
-
Removed legacy modules ("record api"):
ReasonReactCompatReactDOMServerReReactEventReReasonReactOptimizedCreateClass
-
Renamed existing modules:
ReasonReactErrorBoundary->RescriptReactErrorBoundaryReasonReactRouter->RescriptReactRouter- (Note: Usually the two only valid styles would be
ReScriptorrescript, the latter being the version for technical writing. We are usingRescripthere, since it is essentially the capitalized version ofrescript)
-
Removed all functionality from
ReasonReactandReactDOMRethat is not needed for react-jsx v3 compatibility -
Moved
React.SuspenseListtoReact.Experimental.SuspenseListto be more consistent with our Experimental features
Misc:
- Renamed
HISTORY.mdtoChanges.md(aligning with other core projects, like genType)