Flatten a Prop using Recompose

InstructorTim Kindberg

Share this video with your friends

Send Tweet

Learn how to use the ‘flattenProp’ higher order component to take a single object prop and spread each of its fields out as a prop.