React Basic

Watch User Created Playlist (2)

This playlist is user created.

pro-course-rss-logo

PRO RSS Feed

Use map to Create React Components from Arrays of Data

Explore common Render Prop patterns used in React

P
react tutorial about Use map to Create React Components from Arrays of Data

Use map to Create React Components from Arrays of Data

4:18 react

React components can be dynamically generated based on a dataset. This lesson will show you how to do just that by mapping over the state.data object.

react tutorial about Explore common Render Prop patterns used in React

Explore common Render Prop patterns used in React

3:46 react PRO

Render props have become tremendously popular amongst the ReactJS community. Those new to the idea of a "render prop" can easily become confused as they can be implemented in various ways.

In this lesson, we will walk through two extremely common ways in which render props are created. The first scenario will expose data to child components using this.props.render. Following this, we'll then modify the component to use the FaaC (Function-as-a-Child) pattern in which we'll expose data to child components via this.props.children.

"Use a Render Prop!!" by Michael Jackson

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?