February 2019
Beginner to intermediate
180 pages
4h 4m
English
In ReasonReact, all components are created with one of the following four functions:
Each of the four functions accepts a string and returns a record corresponding to a different component template. The string argument is only for debugging purposes. The component gets its name (<App />) from its filename (App.re). The fields the returned record contains are dependent on which of the functions was used. In the case of our previous example, we have the following fields that we can override:
Read now
Unlock full access