Stream Props to Multiple Children with React's Children.map and RxJS

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

Mapping the props to multiple children involves the use of React’s Children.map so that you can map over each child Component provided to the Parent Component stream. Inside the mapping function, you use the cloneElement and pass the props manually as you would with a single child component.