Skip to content

Commit

Permalink
Merge branch 'Blog-Melange-0-11' of github.com:/reasonml/reason-react…
Browse files Browse the repository at this point in the history
… into Blog-Melange-0-11

* 'Blog-Melange-0-11' of github.com:/reasonml/reason-react:
  Update website/blog/2023-06-11-reborn.md
  • Loading branch information
davesnx committed Jul 11, 2023
2 parents 1d61bec + 502f8eb commit 887d0c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions website/blog/2023-06-11-reborn.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ We are happy to announce that ReasonReact is back and will be maintained and dev

We released ReasonReact to the [opam registry](https://opam.ocaml.org/packages/reason-react) and be installed with opam or esy if you prefer (even though Melange team recommends using opam).

We updated the documentation to reflect these new changes and we will continue to improve it.
We updated the documentation to reflect these new changes and we will continue to improve it over time.

## Changes

Expand All @@ -35,7 +35,8 @@ First make sure your project builds with Melange, once this is done, you can fol

- Install latest version of ReasonReact: `opam install reason-react`
- Use this as a package in the dune file `(libraries reason-react)` (make sure to add `(preprocess (pps react-jsx-ppx))` as well).
- Remove usages of modules `ReactDOMRe`, `ReactEventRe`, `ReasonReact`, `ReasonReactCompat`, `ReasonReactOptimizedCreateClass`. They were deprecated a long time ago, but we removed them in this version. There should be a 1:1 mapping between the old modules and the new ones.
- Replace usages of modules with their newer names: `ReactDOMRe` -> `ReactDOM`, `ReactEventRe` -> `ReactEvent`, `ReasonReact` -> `React`.
- Remove usages of `ReasonReactCompat` and `ReasonReactOptimizedCreateClass`. They were deprecated a long time ago, and we removed them in this version.

## Future

Expand Down

0 comments on commit 887d0c0

Please sign in to comment.