Skip to content

Commit

Permalink
Add sections
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Sep 11, 2023
1 parent 2d345fc commit edf8ab8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.mld
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@ server-reason-react is an implementation of react-dom/server and some of React's
// <div><h1>Hello visitor</h1></div>
]}


{1:core Core}

server-reason-react provides a React and ReactDOM modules with the same interface as reason-react, including the JSX transformation via server-reason-react-ppx.

- {!React} server-reason-react.react
- {!ReactDOM} server-reason-react.reactDom


{1:extra Extra}

Aside from the core modules, there're a few utilities that will be handy to make your frontend code be native. Those are {!Belt}, {!Js}, [Promise], and [Webapi].

All of them are implementation of the same APIs as their originals. The level of stability of those extra libraries is not as ready for production as React or ReactDOM.
Expand Down

0 comments on commit edf8ab8

Please sign in to comment.