Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/React.re
Original file line number Diff line number Diff line change
Expand Up @@ -558,3 +558,12 @@ external setDisplayName: (component('props), string) => unit = "displayName";

[@mel.get] [@mel.return nullable]
external displayName: component('props) => option(string) = "displayName";

module DOM = ReactDOM
module DOMServer = ReactDOMServer
module DOMStyle = ReactDOMStyle
module ErrorBoundary = ReasonReactErrorBoundary
module Event = ReactEvent
module TestRenderer = ReactTestRenderer
module TestUtils = ReactTestUtils
module Router = ReasonReactRouter
2 changes: 1 addition & 1 deletion src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
(public_name reason-react)
(preprocess
(pps melange.ppx reason-react-ppx))
(wrapped false)
(wrapped true)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have been changes to be true @davesnx . I think is incomplete yet? could you give me suggestions for this changes?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One way to move forward with this would be to fix the build

(libraries melange.dom)
(modes melange))