Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Create a Layout Component for Displaying Child Components Inside of a ReasonReact App


    When working with traditional React, we often pass functional stateless components the props object as an argument. Although there are a few minor differences when working in the context of Reason, the act of passing props to a component is done in an extremely similar manner.

    In this lesson, we will get a first-hand look at just how similar these processes are by walking through the steps of creating a React Component in ReasonReact. By the end, you'll have developed an understanding of ReasonReact's "named args" syntax which it uses for creating components and you'll have created a re-usable Layout component that can be used to share layout throughout an application.