Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Autoplay

    Render Components Based on Predicates in Recompose

    Tim KindbergTim Kindberg

    Learn how to use the ‘branch’ and ‘renderNothing’ higher-order components to render nothing when a certain prop condition is met. Sometimes you only want to render a component when valid props exist or are in a certain condition; ‘renderNothing’ is an easy way to completely remove the component when you don’t need to show it.

    You must be a Member to view code