Load a Universal React Named Exported Component with the Key Option

InstructorTim Kindberg

Share this video with your friends

Send Tweet

It’s not uncommon to export a component as a named export as opposed to a default export. The key option in the universal higher-order component allows you to select which named export in the module that you’d like to load.