Show Error Messages based on Non-Optimal States with Recompose

InstructorTim Kindberg

Share this video with your friends

Send Tweet

Learn how to use the ‘branch’ and ‘renderComponent’ higher-order components to show errors or messaging when your component is in a non-optimal state. Avoid putting extraneous logic to show errors or messaging into your core component by organizing your non-optimal states into custom higher-order components.