Optimize Expensive Computations in Recompose

InstructorTim Kindberg

Share this video with your friends

Send Tweet

Learn how to use the 'withPropsOnChange' higher order component to help ensure that expensive prop computations are only executed when necessary. Simply specify which props are “expensive” and provide a factory function for those props.